From: "Marcel Molina Jr." Date: 2006-06-09T02:58:05+09:00 Subject: Re: Array#replace vs assignment On Fri, Jun 09, 2006 at 02:54:32AM +0900, Todd Breiholz wrote: > Is there any difference between the following: > > a = ['a','b','c','d','e'] > z = ['x','y','z'] > a.replace(z) a.object_id == z.object_id # => false > and > > a = ['a','b','c','d','e'] > z = ['x','y','z'] > a = z a.object_id == z.object_id # => true marcel -- Marcel Molina Jr.