Class: RDF::Statement

Inherits:
Object
  • Object
show all
Defined in:
lib/sasquatch/rdf.rb

Instance Method Summary collapse

Instance Method Details

#to_ntriplesObject



3
4
5
6
7
# File 'lib/sasquatch/rdf.rb', line 3

def to_ntriples
  RDF::Writer.for(:ntriples).buffer do |writer|
    writer << self          
  end      
end