diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-08-15 16:26:37 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-08-15 16:26:37 +0100 |
commit | c80876f77880a97f94d2255ff9405bb080a6faa4 (patch) | |
tree | ffcba03b1c3a88c8498f8fbe830dd9464be7d68a /activesupport/lib/active_support/core_ext | |
parent | 2e2f3f5a469cb441e52fb161647ea5fd27d98d81 (diff) | |
download | rails-c80876f77880a97f94d2255ff9405bb080a6faa4.tar.gz rails-c80876f77880a97f94d2255ff9405bb080a6faa4.tar.bz2 rails-c80876f77880a97f94d2255ff9405bb080a6faa4.zip |
Document Object#public_send
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/public_send.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/public_send.rb b/activesupport/lib/active_support/core_ext/object/public_send.rb index 233e69b4f8..2e77a22c4b 100644 --- a/activesupport/lib/active_support/core_ext/object/public_send.rb +++ b/activesupport/lib/active_support/core_ext/object/public_send.rb @@ -3,7 +3,7 @@ require 'active_support/core_ext/kernel/singleton_class' class Object unless Object.public_method_defined?(:public_send) # Backports Object#public_send from 1.9 - def public_send(method, *args, &block) # :nodoc: + def public_send(method, *args, &block) # Don't create a singleton class for the object if it doesn't already have one # (This also protects us from classes like Fixnum and Symbol, which cannot have a # singleton class.) |