Class: NilClass

Inherits:
Object show all
Defined in:
vendor/bundler/ruby/3.3.0/bundler/gems/sparql-796d3be4aa08/lib/sparql/algebra/extensions.rb,
vendor/bundler/ruby/3.3.0/bundler/gems/sparql-796d3be4aa08/lib/sparql/algebra/sxp_extensions.rb,
vendor/bundler/ruby/3.3.0/bundler/gems/sxp.rb-7a771a32c5fe/lib/sxp/extensions.rb

Overview

Extensions for Ruby's NilClass class.

Instance Method Summary collapse

Instance Method Details

#evaluate(bindings, **options) ⇒ Object



7
8
9
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/sparql-796d3be4aa08/lib/sparql/algebra/extensions.rb', line 7

def evaluate(bindings, **options)
  self
end

#to_sxp(**options) ⇒ String

Returns the SXP representation of this object.

Returns:



8
9
10
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/sparql-796d3be4aa08/lib/sparql/algebra/sxp_extensions.rb', line 8

def to_sxp(**options)
  RDF.nil.to_s
end