On Sat, 7 Jul 2001, Avi Bryant wrote:

> Here's a somewhat cheesy solution:
>
> class Package
> 	def clone
> 		Marshal.load(Marshal.dump self)
> 	end
> end
>
If it is Parmesean cheese, then it is OK. :)
What you suggest fixes the problem of manually
specifying all the classes that Package may
contain. What still remains is to put this
burdon upon Box and not Package.

=========================================================
Jim Freeze
jim / freeze.org
---------------------------------------------------------
No comment at this time.
http://www.freeze.org
=========================================================