From: dblack@... Date: 2006-02-12T02:33:32+09:00 Subject: Re: Private methods - only available to oneself? Hi -- On Sun, 12 Feb 2006, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Private methods - only available to oneself?" > on Sun, 12 Feb 2006 02:19:27 +0900, dblack@wobblini.net writes: > > |> There's a few loopholes around private and protected, e.g. subclass a > |> class with private methods and declare them public in the subclass, but > |> one of them is closed in 1.9, you can't #send private methods anymore > |> (ok, you can #funcall them, ...) > | > |I think there's still hope that that will disappear by 2.0 :-) > > Do you mean you are expecting funcall's vanishment? Yes, kind of. I'm worried that we'll get a lot of "Which one does private methods, and which one doesn't?", and people will just have to try to memorize it. The names themselves don't express the difference, to me. But I know you didn't like my send/send! idea :-) David -- David A. Black (dblack@wobblini.net) Ruby Power and Light (http://www.rubypowerandlight.com) "Ruby for Rails" chapters now available from Manning Early Access Program! http://www.manning.com/books/black