lib/rdf/json/extensions.rb in rdf-json-2.0.0 vs lib/rdf/json/extensions.rb in rdf-json-2.2.0

- old
+ new

@@ -1,8 +1,8 @@ module RDF::JSON ## - # RDF/JSON extensions for [RDF.rb](http://rdf.rubyforge.org/) core classes + # RDF/JSON extensions for [RDF.rb](https://github.com/ruby-rdf/rdf) core classes # and mixins. # # Classes are extended with two new instance methods: # # * `#to_rdf_json` returns the RDF/JSON representation as a `Hash` object. @@ -10,10 +10,10 @@ # # @example Serializing blank nodes into RDF/JSON format # RDF::Node.new(id).to_rdf_json.to_json # # @example Serializing URI references into RDF/JSON format - # RDF::URI.new("http://rdf.rubyforge.org/").to_rdf_json.to_json + # RDF::URI.new("https://rubygems.org/gems/rdf/").to_rdf_json.to_json # # @example Serializing plain literals into RDF/JSON format # RDF::Literal.new("Hello, world!").to_rdf_json.to_json # # @example Serializing language-tagged literals into RDF/JSON format