From: Rob Sanheim Date: 2006-12-31T16:38:12+09:00 Subject: Re: Little Things On 12/31/06, Devin Mullins 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. - Rob