From: Yohanes Santoso Date: 2002-11-09T09:42:17+09:00 Subject: Re: Multi-dimensional (like 2) arrays in Ruby "Ted" writes: > Choices, choices! > > All of the examples worked. Now which one should I use? > > My gut instinct is to take the first one. It has no methods attached to it and seems clear as to what it is doing. > Is this correct and reasonable? Or are the methods "hidden"? > > # @matrix = Array.new(@rows, Array.new(@cols)) #+Works! doesn't work or it appears to work, but it is not what you want. YS.