Module: RDF::JSON::Extensions::Node
- Defined in:
- lib/rdf/json/extensions.rb
Overview
RDF/JSON extensions for RDF::Node
.
Instance Method Summary collapse
-
#to_rdf_json ⇒ Hash
Returns the RDF/JSON representation of this blank node.
Instance Method Details
#to_rdf_json ⇒ Hash
Returns the RDF/JSON representation of this blank node.
49 50 51 |
# File 'lib/rdf/json/extensions.rb', line 49 def to_rdf_json {:type => :bnode, :value => to_s} end |