Class: TrueClass

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

Overview

Extensions for Ruby's TrueClass class.

Instance Method Summary collapse

Instance Method Details

#to_sxp(**options) ⇒ String

Returns the SXP representation of this object.

Returns:

  • (String)


32
33
34
# File 'lib/sparql/algebra/sxp_extensions.rb', line 32

def to_sxp(**options)
  'true'
end