From: "Hal E. Fulton" Date: 2001-05-21T08:37:28+09:00 Subject: [ruby-talk:15442] Re: How do I copy an object? ----- Original Message ----- From: Kent Dahl To: ruby-talk ML ; 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