Class: Hash

Inherits:
Object show all
Defined in:
vendor/bundler/ruby/2.5.0/bundler/gems/sparql-683a29666c28/lib/sparql/algebra/extensions.rb

Overview

Extensions for Ruby's Hash class.

Instance Method Summary collapse

Instance Method Details

#to_sxpObject



181
# File 'vendor/bundler/ruby/2.5.0/bundler/gems/sparql-683a29666c28/lib/sparql/algebra/extensions.rb', line 181

def to_sxp; to_sxp_bin; end

#to_sxp_binString

Returns the SXP representation of this object, defaults to self.

Returns:



178
179
180
# File 'vendor/bundler/ruby/2.5.0/bundler/gems/sparql-683a29666c28/lib/sparql/algebra/extensions.rb', line 178

def to_sxp_bin
  to_a.to_sxp_bin
end