From: "David A. Black" Date: 2007-08-25T05:29:19+09:00 Subject: Re: send! instead of funcall Hi -- On Sat, 25 Aug 2007, Daniel Berger wrote: > David Flanagan wrote: >> Hi all, >> >> Since funcall and __send! were the topic of a very long thread some time >> ago, I wanted to point out that Matz has just changed eval.c to remove >> funcall and replace it with send!. We now have a more logical set of >> aliases: >> >> send, __send, and __send__ can invoke private methods only when they are >> themselves invoked as functions without an explicit receiver. >> >> send! and __send! can always invoke private methods. >> >> funcall never really fit, and I'm happy to see it removed. > > Good, then you can rewrite all my C extensions for me when 2.0 is officially > released. That's what ruby -pi is for :-) David -- * Books: RAILS ROUTING (new! http://www.awprofessional.com/title/0321509242) RUBY FOR RAILS (http://www.manning.com/black) * Ruby/Rails training & consulting: Ruby Power and Light, LLC (http://www.rubypal.com)