On Tue, Apr 16, 2013 at 9:10 PM, Matthew Kerwin <lists / ruby-forum.com>wrote:

> There is no general-form solution to creating a deep-copy of a
> datastructure in ruby.


A (suboptimal) solution for deep copies in Ruby is to use Marshal.

It sure would be nice if Ruby had some sort of analogue for structured
cloning.

-- 
Tony Arcieri