diff options
author | Oscar Del Ben <info@oscardelben.com> | 2012-05-13 08:21:06 -0700 |
---|---|---|
committer | Oscar Del Ben <info@oscardelben.com> | 2012-05-13 08:21:06 -0700 |
commit | 88fc7495b9aa0facd3363ace4871118a0905d6c2 (patch) | |
tree | 0cf88324c7f3cc9195c746a14f99f7333894f694 /activesupport/lib | |
parent | a7e0b2f843c4a6fdfe08a45c09d2ff44bcfe994e (diff) | |
download | rails-88fc7495b9aa0facd3363ace4871118a0905d6c2.tar.gz rails-88fc7495b9aa0facd3363ace4871118a0905d6c2.tar.bz2 rails-88fc7495b9aa0facd3363ace4871118a0905d6c2.zip |
Update docs to public_send for Object#try
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/try.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/try.rb b/activesupport/lib/active_support/core_ext/object/try.rb index 3e63b1e82a..48eb546a7d 100644 --- a/activesupport/lib/active_support/core_ext/object/try.rb +++ b/activesupport/lib/active_support/core_ext/object/try.rb @@ -1,6 +1,6 @@ class Object # Invokes the public method identified by the symbol +method+, passing it any arguments - # and/or the block specified, just like the regular Ruby <tt>Object#send</tt> does. + # and/or the block specified, just like the regular Ruby <tt>Object#public_send</tt> does. # # *Unlike* that method however, a +NoMethodError+ exception will *not* be raised # and +nil+ will be returned instead, if the receiving object is a +nil+ object or NilClass. |