From: Joel VanderWerf Date: 2011-06-21T02:00:27+09:00 Subject: Re: What about Object#to_ruby ? On 06/20/2011 05:40 AM, Bernard Lambeau wrote: > Hi! > > It's not the first time that I need a to_ruby method which would guarantee > the following invariant: > > Kernel.eval(foo.to_ruby) == foo There was a project called amarshal, in the pre-gem days: http://www.a-k-r.org/amarshal