diff options
author | Jay Hayes <jay@bignerdranch.com> | 2013-07-26 15:18:04 -0500 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2013-09-10 19:54:29 +0200 |
commit | 3b7d8351f66c7169242f38aed99f4c60f152562f (patch) | |
tree | 3ce1c8c1f9cf5f8d4344b898013ae5adaf5c88d1 /activesupport | |
parent | baaf8cf83f3591ae9dd55c90ab944ede84c2a6e6 (diff) | |
download | rails-3b7d8351f66c7169242f38aed99f4c60f152562f.tar.gz rails-3b7d8351f66c7169242f38aed99f4c60f152562f.tar.bz2 rails-3b7d8351f66c7169242f38aed99f4c60f152562f.zip |
Fixes typo in Object#try!
Diffstat (limited to 'activesupport')
-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 |