Method: Heist::Runtime::Vector#to_s

Defined in:
lib/runtime/data/vector.rb

#to_sObject Also known as: inspect

Returns a Scheme-style string representation of the Vector.



57
58
59
# File 'lib/runtime/data/vector.rb', line 57

def to_s
  '#(' + map { |cell| Heist.stringify(cell) }.join(' ') + ')'
end