Should this be the case i.e. I am misunderstanding, or is it a bug?
a = Array.new(3, Array.new(3))
a[1].fill('g')
=> [["g", "g", "g"], ["g", "g", "g"], ["g", "g", "g"]]
should it not result in
=> [[nil, nil, nil], ["g", "g", "g"], [nil, nil, nil]]
Any advice would be most helpful!
Regards,