From: snacktime Date: 2005-10-13T06:28:46+09:00 Subject: Re: drb example ------=_Part_30250_14653840.1129098527471 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/11/05, snacktime wrote: > > I've been trying to find a drb example that illustrates a client obtainin= g > an object from a drb server, and being able to then use that object on th= e > client side like any other object. I've seen bits and pieces but nothing > that's made sense to me so far. Most of the examples just show retrieving > the value of a method call, which seems to be a lot different then > retrieving an object itself. > > Anyone have a simple example anywhere? > > Ok after thinking I just wasn't getting it I found out my problem was elsewhere. However this raised another question. My client was calling a method which returned a cloned copy of an array that had been extended by MonitorMixin. It came across in the client as a DRb::DRbUnknown. Is there a cleaner way to make a copy of an extended object that is compatible with dr= b other than iterating over it in a block? Not a huge deal, just curious. Chris ------=_Part_30250_14653840.1129098527471--