From: ara.t.howard@... Date: 2006-04-11T00:42:22+09:00 Subject: Re: do i have to use DRbUndumped? yn Tue, 11 Apr 2006, holy sinner wrote: > - what's wrong with my _dump (and _load) ? do i have to use DRb::DRbUndumped ? harp:~ > cat a.rb require 'rinda/ring' class HelloWorld def initialize(str) @str = str end def _dump(*a, &b) Marshal.dump(@str, *a, &b) end def HelloWorld._load(*a, &b) new(Marshal.load(*a, &b)) end def to_s() @str end end hello_world = HelloWorld.new 'hello world' puts(Marshal.load(Marshal.dump(hello_world))) harp:~ > ruby a.rb hello world -a -- be kind whenever possible... it is always possible. - h.h. the 14th dali lama