Method: RDF::Query#+

Defined in:
lib/rdf/query.rb

#+(other) ⇒ RDF::Query

Add patterns from another query to form a new Query

Parameters:

Returns:

Since:

  • 0.3.0



413
414
415
# File 'lib/rdf/query.rb', line 413

def +(other)
  Query.new(self.patterns + other.patterns)
end