Hi,

In message "Marshaling objects partially"
    on 03/07/07, Ronald Pijnacker <rhp / dse.nl> 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.