On Jul 16, 2010, at 1:24 , Martin DeMello wrote: > > The basic problem is that ruby doesn't have rectangular arrays, you > have to use arrays of arrays. > So what happens when you go off the end of the array? Hmm. I think you need to re-read my example, because my code *never accesses an out of bounds array*. My code does NOT take advantage of array[tooBig] == nil. Instead, it returns nil if Y is out of bounds INSTEAD of checking the array. I think the error's being raised because he's trying to assign to the class, not an instance.