Module: ArrayMod

Defined in:
lib/formula_eval/wrapper.rb

Instance Method Summary collapse

Instance Method Details

#[](i) ⇒ Object



74
75
76
77
# File 'lib/formula_eval/wrapper.rb', line 74

def [](i)
  raise "tried to pass string #{i} to array [] #{inspect}" unless i.kind_of?(Fixnum)
  super
end