--Apple-Mail-3--265915346 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 27 Jan 2005, at 02:10, Ville Mattila wrote: > > Hello, > > Is it possible to make only one method of a class undumpable? No... > I.e > something like > Class Foo > def bar > end > def foobar > include(DRbMethodUndumped) > end > end Only objects can be undumpable, not methods. You *can* make the object that is returned by a method undumpable: class X def meth obj o_stuff obj.include DRbUndumped return obj end end -- Eric Hodel - drbrain / segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --Apple-Mail-3--265915346 content-type: application/pgp-signature; x-mac-type=70674453; name P.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB+c5AMypVHHlsnwQRAnoyAKDcisLmKrgE1RFUPulYLW5rsIc3dgCg4VWM oNDYCkDRFEJBM9f+jTXVZIk c3 -----END PGP SIGNATURE----- --Apple-Mail-3--265915346--