aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2013-07-28 19:41:48 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2013-07-28 19:41:48 +0530
commit2a71e9cbd49474215673884fcce3f168481cfcd1 (patch)
tree951f0cac221ee1a55b21cee14c8446f116715a73 /activesupport/lib
parentb6c0639825a2ed723a00c32acec87bfeffc1b9ed (diff)
parentf14c94dd1a7020afcadbc078a291278ba8c0574f (diff)
downloadrails-2a71e9cbd49474215673884fcce3f168481cfcd1.tar.gz
rails-2a71e9cbd49474215673884fcce3f168481cfcd1.tar.bz2
rails-2a71e9cbd49474215673884fcce3f168481cfcd1.zip
Merge branch 'master' of github.com:rails/docrails
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 534bbe3c42..48190e1e66 100644
--- a/activesupport/lib/active_support/core_ext/object/try.rb
+++ b/activesupport/lib/active_support/core_ext/object/try.rb
@@ -47,7 +47,7 @@ class Object
end
# Same as #try, but will raise a NoMethodError exception if the receiving is not nil and
- # does not implemented the tried method.
+ # does not implement the tried method.
def try!(*a, &b)
if a.empty? && block_given?
yield self