James Coglan wrote: >> >> end >> [#<TEST:0x3f3d9f0 @args=[0, 0, 1, 2, 0, 4]>, >> #<TEST:0x3f3d9d8 @args=[0, 0, 1, 2, 0, 4]>, >> #<TEST:0x3f3d900 @args=[0, 0, 1, 2, 0, 4]>, >> #<TEST:0x3f3d828 @args=[0, 0, 1, 2, 0, 4]>, >> #<TEST:0x3f3d750 @args=[0, 0, 1, 2, 0, 4]>] > > > > When you set 'new = old', you're just creating another reference to the > same > array. To copy the array, use 'new = old.dup'. (dup = duplicate) Ahh, fantastic! Thank you. -- Posted via http://www.ruby-forum.com/.