From: Jeff Williams Date: 2005-08-30T18:21:24+09:00 Subject: Re: Method behaves differently when called using #send Quoting Yukihiro Matsumoto : > OK, here's another idea. How about > > foo.send(:bar) > > calls only public methods and > > send(:bar) > > calls private methods of the receiver as well? This would mean calling send(:bar) is more or less equivalent to calling bar() itself, which is always good. At least its what I would expect of the send method. Also, it would appear that the purpose of the send method is to call functions you don't know the name of at the time of writing, not for calling private methods from outside of the instance, so this behaviour would be appropriate. Jeff ------------------------------------------------------------------ This mail sent through Global Dial Mail http://mail.globaldial.com