From: David Flanagan Date: 2007-11-12T05:16:49+09:00 Subject: Re: method names in 1.9 Austin Ziegler wrote: > On 11/11/07, Charles Oliver Nutter wrote: >> What's the use-case/reason for providing a visibility-honoring send? > > Good question. I know that there have been a lot of posts from people > disappointed that #send doesn't honour visibility, but it's unclear to > me as to whether or not it's a lot of people, or a vocal minority. > > -austin There was a discussion on ruby-core. You can probably find it if you search. Back the, Matz was proposing "funcall" as the name of the method that would call private methods. IIRC, the reason for a visiblity-honoring method is so that if your intent is to invoke a (public) method that is part of a published API you won't inadvertently invoke a (private) implementation-dependent helper method with the same name defined by a subclass. You fail fast with an exception rather than getting unexpected behavior that comes from calling the wrong method. David