Class: TrueClass

Inherits:
Object show all
Defined in:
vendor/bundler/ruby/2.7.0/bundler/gems/sparql-cd4915d97d78/lib/sparql/algebra/sxp_extensions.rb,
vendor/bundler/ruby/2.7.0/bundler/gems/sxp.rb-25f5d813233a/lib/sxp/writer.rb

Overview

Extensions for Ruby's TrueClass class.

Instance Method Summary collapse

Instance Method Details

#to_sxpString

Returns the SXP representation of this object.

Returns:



32
33
34
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/sparql-cd4915d97d78/lib/sparql/algebra/sxp_extensions.rb', line 32

def to_sxp
  'true'
end