From: Eric Hodel Date: 2005-07-21T03:12:08+09:00 Subject: Re: drb pass by reference On 19 Jul 2005, at 20:34, Mark Volkmann wrote: > I've been reading about DRb from several sources including the > documentation at the beginning of drb.rb. I'm troubled by the > mechanism for passing objects by reference instead of by value. From > what I've read you have to add "include DRb::DRbUndumped" to the class > of the objects being passed. What if I want to pass some objects of > that type by reference and others by value? Don't include (or extend) DRb::DRbUndumped. Remember when you pass by value, both sides must know the class definition for the object being passed. -- Eric Hodel - drbrain@segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04