Jeremy Woertink wrote:
> I think your going to get an undefined method error even after doing
> t = Test.new
> t.mag 10
> 
> you have Array.new(size) {l} <--what is l?


arr = Array.new(3) {1}
p arr

--output:--
[1, 1, 1]
-- 
Posted via http://www.ruby-forum.com/.