Class: NilClass
- Defined in:
- lib/sparql/algebra/extensions.rb,
lib/sparql/algebra/sxp_extensions.rb
Overview
Extensions for Ruby’s NilClass
class.
Instance Method Summary collapse
- #evaluate(bindings, **options) ⇒ Object
-
#to_sxp(**options) ⇒ String
Returns the SXP representation of this object.
Instance Method Details
#evaluate(bindings, **options) ⇒ Object
7 8 9 |
# File 'lib/sparql/algebra/extensions.rb', line 7 def evaluate(bindings, **) self end |
#to_sxp(**options) ⇒ String
Returns the SXP representation of this object.
8 9 10 |
# File 'lib/sparql/algebra/sxp_extensions.rb', line 8 def to_sxp(**) RDF.nil.to_s end |