On May 15, 2006, at 5:06 PM, Joe Seeley wrote:

> The 2 dimensional array or table structure is extremely common, but I
> don't see a simple/standard way to implement this in Ruby.  Is  
> there an
> easy way to do this?
>
> -- 
> Posted via http://www.ruby-forum.com/.

A 2-dimensional array is simply an array of arrays. Something like this:

a = Array.new() {Array.new}

Or you could use the Matrix class from "matrix" in the standard library.