On Thu, 09 Aug 2007 17:13:09 +0900, Ronald Fischer wrote:

> Is there a standard way of doing a deep copy of an object (in
> particular, of an array)?
> 
> http://www.ruby-doc.org/core/classes/Object.html#M000379 mentions a
> function 'dclone',
> but this doesn't seem to exist:
> 
>  		undefined method `dclone'

Marshal.load(Marshsl.dump(array))

-- 
Ken Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/