From: matz@... (Yukihiro Matsumoto) Date: 2003-07-08T00:25:10+09:00 Subject: Re: Marshaling objects partially Hi, In message "Marshaling objects partially" on 03/07/07, Ronald Pijnacker writes: |I had a look at _dump and _load, but it seems to me that I'd have to |solve the cyclic references myself again. Is this true? Yes. But if you use Marshal.dump for _dump, Marshal resolves cycles (potential duplication might happen). class Foo def _dump(limit) Marshal.dump([...data in array...], limit-1) end def Foo._load(str) data = Marshal.load(str) ...build instance using data... end end matz.