From: Matthew Moss Date: 2006-04-20T01:10:29+09:00 Subject: Re: Probleme with 2-dimensionnal arrays It has to do with how you construct your array. Your outer array contains 3 references to the same inner array. You need to force each inner array to be a separate object, which can be done like this: my_array = Array.new(3) { Array.new(3) }