From: Holden Glova Date: 2002-01-27T06:01:17+09:00 Subject: Re: "friend" alternative in Ruby? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 27 Jan 2002 09:53, Phil Tomson wrote: > but the regular 'send' seems to also work for calling private methods, > what's the difference between '__send__' and 'send'? > > Phil Phil, AFAIK they are the same, you just use __send__ if the name 'send' clashes with with an existing method in the object. I use __send__ always instead of send. A matter of taste I suppose. - -- Signed, Holden Glova -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8Uxno+mF116Lw2cQRAlVvAJ9L4eIPbYS4aYX8S36wCnNQxvJKGQCfXc0t 87k3o19tJd761g+eiMZ53bs= =YI/+ -----END PGP SIGNATURE-----