aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorOscar Del Ben <info@oscardelben.com>2012-05-13 08:21:06 -0700
committerOscar Del Ben <info@oscardelben.com>2012-05-13 08:21:06 -0700
commit88fc7495b9aa0facd3363ace4871118a0905d6c2 (patch)
tree0cf88324c7f3cc9195c746a14f99f7333894f694 /activesupport/lib
parenta7e0b2f843c4a6fdfe08a45c09d2ff44bcfe994e (diff)
downloadrails-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.rb2
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.