Class: SPARQL::Client::Query::Filter
- Inherits:
-
SPARQL::Client::QueryElement
- Object
- SPARQL::Client::QueryElement
- SPARQL::Client::Query::Filter
- Defined in:
- vendor/bundler/ruby/3.3.0/bundler/gems/sparql-client-464d3f76cfd5/lib/sparql/client/query.rb
Overview
Allow Filters to be
Instance Attribute Summary
Attributes inherited from SPARQL::Client::QueryElement
Instance Method Summary collapse
-
#initialize(*args) ⇒ Filter
constructor
A new instance of Filter.
- #to_s ⇒ Object
Constructor Details
#initialize(*args) ⇒ Filter
Returns a new instance of Filter.
920 921 922 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/sparql-client-464d3f76cfd5/lib/sparql/client/query.rb', line 920 def initialize(*args) super end |
Instance Method Details
#to_s ⇒ Object
924 925 926 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/sparql-client-464d3f76cfd5/lib/sparql/client/query.rb', line 924 def to_s "FILTER(#{elements.join(' ')})" end |