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.
149 150 151 |
# File 'lib/sxp/extensions.rb', line 149 def to_sxp() '(' << map { |x| x.to_sxp(**) }.join(' ') << ')' end |