Skip to content

Commit 4536d95

Browse files
committed
Update documentation.
1 parent dbe7eff commit 4536d95

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

bin/jsonld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ opts.each do |opt, arg|
116116
when '--dbg' then parser_options[:debug] = ::JSON::LD::debug = true
117117
when '--compact' then options[:compact] = true
118118
when '--context' then options[:context] = arg
119-
when '--execute' then input = arg
119+
when '--evaluate' then input = arg
120120
when '--expand' then options[:expand] = true
121121
when '--format' then options[:output_format] = arg.to_sym
122122
when '--flatten' then options[:flatten] = arg

etc/doap.jsonld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"doap:homepage": "http://github.com/ruby-rdf/json-ld/",
2929
"doap:license": "http://creativecommons.org/licenses/publicdomain/",
3030
"doap:shortdesc": "JSON-LD support for RDF.rb.",
31-
"doap:description": "RDF.rb plugin for parsing/serializing JSON-LD data.",
31+
"doap:description": "RDF.rb extension for parsing/serializing JSON-LD data.",
3232
"doap:created": "2011-05-07",
3333
"doap:platform": "Ruby",
3434
"doap:implements": [

etc/doap.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
doap:blog <http://greggkellogg.net/>;
1212
doap:bug-database <http://github.com/ruby-rdf/json-ld/issues>;
1313
doap:created "2011-05-07"^^xsd:date;
14-
doap:description "RDF.rb plugin for parsing/serializing JSON-LD data."@en;
14+
doap:description "RDF.rb extension for parsing/serializing JSON-LD data."@en;
1515
doap:developer <http://greggkellogg.net/foaf#me>;
1616
doap:documenter <http://greggkellogg.net/foaf#me>;
1717
doap:homepage <http://github.com/ruby-rdf/json-ld/>;

etc/earl.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
doap:blog <http://greggkellogg.net/>;
1212
doap:bug-database <http://github.com/ruby-rdf/json-ld/issues>;
1313
doap:created "2011-05-07"^^xsd:date;
14-
doap:description "RDF.rb plugin for parsing/serializing JSON-LD data."@en;
14+
doap:description "RDF.rb extension for parsing/serializing JSON-LD data."@en;
1515
doap:developer <http://greggkellogg.net/foaf#me>;
1616
doap:documenter <http://greggkellogg.net/foaf#me>;
1717
doap:homepage <http://github.com/ruby-rdf/json-ld/>;

lib/json/ld.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
module JSON
55
##
6-
# **`JSON::LD`** is a JSON-LD plugin for RDF.rb.
6+
# **`JSON::LD`** is a JSON-LD extension for RDF.rb.
77
#
88
# @example Requiring the `JSON::LD` module
99
# require 'json/ld'

lib/json/ld/to_rdf.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ def parse_object(item)
101101
#
102102
# @param [Array] list
103103
# The Array to serialize as a list
104-
# @param [Array<RDF::Statement>] list_results
105-
# Statements for each item in the list
106104
# @yield statement
107105
# @yieldparam [RDF::Resource] statement
106+
# @return [Array<RDF::Statement>]
107+
# Statements for each item in the list
108108
def parse_list(list)
109109
debug('parse_list') {"list: #{list.inspect}"}
110110

0 commit comments

Comments
 (0)