Method: RDF::Query::Pattern#to_s

Defined in:
lib/rdf/query/pattern.rb

#to_sString

Returns a string representation of this pattern.

Since:

  • 0.3.0



374
375
376
# File 'lib/rdf/query/pattern.rb', line 374

def to_s
  (optional? ? 'OPTIONAL ' : '') + super
end