lib/rdf/json/format.rb in rdf-json-0.2.0 vs lib/rdf/json/format.rb in rdf-json-0.3.0.pre

- old
+ new

@@ -1,9 +1,12 @@ module RDF::JSON ## # RDF/JSON format specification. # + # @example Loading RDF/JSON format support + # require 'rdf/json' + # # @example Obtaining an RDF/JSON format class # RDF::Format.for(:json) #=> RDF::JSON::Format # RDF::Format.for("etc/doap.json") # RDF::Format.for(:file_name => "etc/doap.json") # RDF::Format.for(:file_extension => "json") @@ -16,7 +19,7 @@ reader { RDF::JSON::Reader } writer { RDF::JSON::Writer } require 'json' - end # class Format -end # module RDF::JSON + end # Format +end # RDF::JSON