On Mon, Feb 13, 2012 at 4:37 PM, Yusuke Endoh <mame / tsg.ne.jp> wrote:

> Hello,
>
> 2012/2/14 Peter Vandenabeele <peter / vandenabeele.com>:
> > I use OpenStruct#marshal_dump for this purpose,
> > which is a public method and returns a clean hash.
>
> Cleary, marshal_dump is only intended for Marshal.
> I don't know what version policy is applied to marshal format
> of a standard library, but I do NOT recommend using marshal_dump
> for the purpose.  I bet it is not guaranteed.
>

Many thanks for the clarification.

Peter