class RDF::YodaTriples::Writer
Public Instance Methods
format_triple(subject, predicate, object, options = {})
click to toggle source
# File lib/rdf/yoda_triples.rb, line 27 def format_triple(subject, predicate, object, options = {}) "%s %s %s mmgh?" % [object, subject, predicate].map { |value| format_term(value, options) } end