----- Original Message ----- 
From: Kent Dahl <kentda / stud.ntnu.no>
To: ruby-talk ML <ruby-talk / ruby-lang.org>; <ruby-talk / netlab.co.jp>
Sent: Sunday, May 20, 2001 12:40 AM
Subject: [ruby-talk:15417] Re: How do I copy an object?


> I believe you need to implement dup or clone yourself, to ensure a deep
> copy. 

Generally true. But there's the trick of using Marshal to dump an object
and then load it again.

Hal