Module: DataMapper::Semantic::InstanceMethods
- Defined in:
- lib/dm-semantic/functions.rb
Instance Method Summary collapse
-
#to_rdf(format = :xml) ⇒ String
Export a representation of the instance in RDF.
Instance Method Details
#to_rdf(format = :xml) ⇒ String
Export a representation of the instance in RDF.
Example
Friend.first.to_rdf # returns the first Friend model instance in RDF using its ontology
Returns
160 161 162 |
# File 'lib/dm-semantic/functions.rb', line 160 def to_rdf(format = :xml) raise "not yet implemented" end |