I wonder if there\'s a possibility to create a two dimensional array and to quickly access any horizontal or vertical sub array in it?
I believe we can access a hor
Here is an easy way to create a "2D" array.
2.1.1 :004 > m=Array.new(3,Array.new(3,true)) => [[true, true, true], [true, true, true], [true, true, true]]