diff options
author | Jay Hayes <jay@bignerdranch.com> | 2013-07-26 15:18:04 -0500 |
---|---|---|
committer | Jay Hayes <jay@bignerdranch.com> | 2013-07-26 15:18:04 -0500 |
commit | a99aa3ba1bb3277473daabfc9a631451935804cb (patch) | |
tree | b5c3766bb32430e46aa6c7180911d267633022a5 | |
parent | 82a2a78be816c16deb191abd72306a3c0aa9859d (diff) | |
download | rails-a99aa3ba1bb3277473daabfc9a631451935804cb.tar.gz rails-a99aa3ba1bb3277473daabfc9a631451935804cb.tar.bz2 rails-a99aa3ba1bb3277473daabfc9a631451935804cb.zip |
Fixes typo in Object#try!
-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 |