Class: Object

Inherits:
BasicObject
Defined in:
lib/sxp/extensions.rb

Overview

Extensions for Ruby’s ‘Object` class.

Instance Method Summary collapse

Instance Method Details

#to_sxp(**options) ⇒ String

Returns the SXP representation of this object.

Returns:



13
14
15
# File 'lib/sxp/extensions.rb', line 13

def to_sxp(**options)
  to_s.to_json
end