Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes typo in Object#try!

  • Loading branch information...
commit a99aa3ba1bb3277473daabfc9a631451935804cb 1 parent 82a2a78
@iamvery iamvery authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.