On Tue, 22 Jul 2003 01:43:45 +0900, Jim Freeze wrote:

> Hi
> 
> I find that when I need to do a deep copy that I
> usually just do the following:
> 
>   x = Marshal.load(Marshal.dump(y)
> 
> 
> Is there a more concise (possibly faster) method that
> combines these two steps? If not, should we add one?

How about this ?

http://www.rubygarden.org/ruby?StandardClassExtensions/Object

--
Simon Strandgaard