Permalink
Browse files

Fixes typo in Object#try!

  • Loading branch information...
1 parent baaf8cf commit 3b7d8351f66c7169242f38aed99f4c60f152562f @iamvery iamvery committed with arunagw Jul 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/object/try.rb
View
2 activesupport/lib/active_support/core_ext/object/try.rb
@@ -47,7 +47,7 @@ def try(*a, &b)
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

0 comments on commit 3b7d835

Please sign in to comment.