Module: RDF::JSON::Extensions::URI
- Defined in:
- lib/rdf/json/extensions.rb
Overview
RDF/JSON extensions for RDF::URI
.
Instance Method Summary collapse
-
#to_rdf_json ⇒ Hash
Returns the RDF/JSON representation of this URI reference.
Instance Method Details
#to_rdf_json ⇒ Hash
Returns the RDF/JSON representation of this URI reference.
61 62 63 |
# File 'lib/rdf/json/extensions.rb', line 61 def to_rdf_json {:type => :uri, :value => to_s} end |