diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2013-07-28 19:41:48 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2013-07-28 19:41:48 +0530 |
commit | 2a71e9cbd49474215673884fcce3f168481cfcd1 (patch) | |
tree | 951f0cac221ee1a55b21cee14c8446f116715a73 /activesupport/lib/active_support | |
parent | b6c0639825a2ed723a00c32acec87bfeffc1b9ed (diff) | |
parent | f14c94dd1a7020afcadbc078a291278ba8c0574f (diff) | |
download | rails-2a71e9cbd49474215673884fcce3f168481cfcd1.tar.gz rails-2a71e9cbd49474215673884fcce3f168481cfcd1.tar.bz2 rails-2a71e9cbd49474215673884fcce3f168481cfcd1.zip |
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'activesupport/lib/active_support')
-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 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 |