From: Andrew Salveson Date: 2009-04-14T05:51:42+09:00 Subject: Re: changing array values James Coglan wrote: >> >> end >> [#, >> #, >> #, >> #, >> #] > > > > 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/.