All,

It appears that Rails adds the send! method to Object, via the output
below.

gandalf-2:royaltyzone weyus$ irb
>> Object.methods.include?("send!")
=> false
>> exit
gandalf-2:royaltyzone weyus$ script/console
Loading development environment (Rails 2.1.2)
>> Object.methods.include?("send!")
=> true
>> exit

I assume this is to provide backward compatibility with the new send!
method in Ruby 1.9 that allows you to still dynamically call private
methods?  Is this correct?

Thanks,
Wes
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to