lib/rdf/model/statement.rb in rdf-1.0.5 vs lib/rdf/model/statement.rb in rdf-1.0.6
- old
+ new
@@ -7,9 +7,10 @@
# p = RDF::DC.creator
# o = RDF::URI.new("http://ar.to/#self")
# RDF::Statement.new(s, p, o)
#
# @example Creating an RDF statement with a context
+ # uri = RDF::URI("http://example/")
# RDF::Statement.new(s, p, o, :context => uri)
#
# @example Creating an RDF statement from a `Hash`
# RDF::Statement.new({
# :subject => RDF::URI.new("http://rubygems.org/gems/rdf"),