class SPARQL::Client::QueryElement
A query element can be used as a component of a query. It may be initialized with a string, which is wrapped in an appropriate container depending on the type of QueryElement
. Implements {#to_s} to property serialize when generating a SPARQL
query.
Attributes
elements[R]
Public Class Methods
new(*args)
click to toggle source
# File lib/sparql/client.rb, line 830 def initialize(*args) @elements = args end
Public Instance Methods
to_s()
click to toggle source
# File lib/sparql/client.rb, line 834 def to_s raise NotImplemented end