Class: NilClass

Inherits:
Object show all
Defined in:
lib/sparql/algebra/sxp_extensions.rb

Overview

Extensions for Ruby's NilClass class.

Instance Method Summary (collapse)

Instance Method Details

- (String) to_sxp

Returns the SXP representation of this object.

Returns:

  • (String)


8
9
10
# File 'lib/sparql/algebra/sxp_extensions.rb', line 8

def to_sxp
  RDF.nil.to_s
end