Method: Nendo::LispValues#initialize
- Defined in:
- lib/nendo/ruby/types.rb
#initialize(arr) ⇒ LispValues
Returns a new instance of LispValues.
166 167 168 169 170 171 172 |
# File 'lib/nendo/ruby/types.rb', line 166 def initialize( arr ) if 1 == arr.size raise ArgumentError, "Error: LispValues object expects 0 or 2+ length of array" else @values = arr end end |