Permalink
Browse files

Update docs to public_send for Object#try

  • Loading branch information...
1 parent a7e0b2f commit 88fc7495b9aa0facd3363ace4871118a0905d6c2 @oscardelben oscardelben committed May 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.

0 comments on commit 88fc749

Please sign in to comment.