Class: Hash

Inherits:
Object show all
Defined in:
lib/sxp/extensions.rb

Overview

Extensions for Ruby’s ‘Hash` class.

Instance Method Summary collapse

Instance Method Details

#to_sxp(**options) ⇒ String

Returns the SXP representation of this object.

Returns:



173
174
175
# File 'lib/sxp/extensions.rb', line 173

def to_sxp(**options)
  to_a.to_sxp(**options)
end