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