Class: Object

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

Overview

Extensions for Ruby's Object class.

Instance Method Summary (collapse)

Instance Method Details

- (String) to_sxp

Returns the SXP representation of this object.

Returns:



8
9
10
# File 'lib/sxp/writer.rb', line 8

def to_sxp
  to_s.to_json
end