let me just give a blip of what i am getting...

>> a = Array.new(3,[])
=> [[], [], []]
>> a[2] << "check"
=> ["check"]
>> a
=> [["check"], ["check"], ["check"]]

this is totally not what i am expecting..

what i am expecting is:

[[],[],[["check"]]]

as in..

the 2 element should have the "check" string dropped into the next
available position..

how would i go about setting that (or any other) element only?

thanks!

-- 
Posted via http://www.ruby-forum.com/.