On 12/31/06, Rob Sanheim <rsanheim / gmail.com> wrote:
> On 12/31/06, Devin Mullins <twifkak / comcast.net> wrote:
> > Trans wrote:
> > > Hmm... Are you perhpas indirectly suggesting:
> > >
> > >   send(:meth)  # private
> > >   self.send(:meth)  # public
> > >
> > > ?
> >
> > Yikes, a method that behaves differently depending on how it's called?
> > What about method(:send).call vs self.method(:send).call?
> >
> > Meprefers send_priv or something.
> >
> > Devin
>
> What about:
>
> obj.send(:foo) # will call only public
> obj.send!(:foo) # will bypass private/protected, like the current send.
>
> reads better then funcall to me, at least.

Yes please. That's perfect.