From: James Edward Gray II Date: 2006-08-16T01:26:36+09:00 Subject: Re: Ruby bug or not? On Aug 15, 2006, at 11:18 AM, Kevin Olbrich wrote: > b = a.clone That's not a deep copy: >> class CopyTest >> attr_accessor :one >> end => nil >> ?> a = CopyTest.new => # >> a.one = [1,2,3,4] => [1, 2, 3, 4] >> b = a.clone => # >> a.one.object_id => 1673774 >> b.one.object_id => 1673774 James Edward Gray II