Class: Array
Overview
Extensions for Ruby’s Array class.
Instance Method Summary collapse
-
#to_sxp ⇒ String
Returns the SXP representation of this object.
Instance Method Details
#to_sxp ⇒ String
Returns the SXP representation of this object.
124 125 126 |
# File 'lib/sxp/writer.rb', line 124 def to_sxp '(' << map { |x| x.to_sxp }.join(' ') << ')' end |