lib/rdf/json/writer.rb in rdf-json-3.1.0 vs lib/rdf/json/writer.rb in rdf-json-3.2.0

- old
+ new

@@ -5,16 +5,16 @@ # @example Loading RDF/JSON serialization support # require 'rdf/json' # # @example Obtaining an RDF/JSON writer class # RDF::Writer.for(:json) #=> RDF::JSON::Writer - # RDF::Writer.for("etc/test.json") - # RDF::Writer.for(:file_name => "etc/test.json") - # RDF::Writer.for(:file_extension => "json") - # RDF::Writer.for(:content_type => "application/json") + # RDF::Writer.for("etc/test.rj") + # RDF::Writer.for(:file_name => "etc/test.rj") + # RDF::Writer.for(:file_extension => "rj") + # RDF::Writer.for(:content_type => "application/rdf+json") # # @example Serializing RDF statements into an RDF/JSON file - # RDF::JSON::Writer.open("etc/test.json") do |writer| + # RDF::JSON::Writer.open("etc/test.rj") do |writer| # graph.each_statement do |statement| # writer << statement # end # end #