Skip to content

Commit 3b7d835

Browse files
Jay Hayesarunagw
authored andcommitted
Fixes typo in Object#try!
1 parent baaf8cf commit 3b7d835

File tree

1 file changed

+1
-1
lines changed
  • activesupport/lib/active_support/core_ext/object

1 file changed

+1
-1
lines changed

activesupport/lib/active_support/core_ext/object/try.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def try(*a, &b)
4747
end
4848

4949
# Same as #try, but will raise a NoMethodError exception if the receiving is not nil and
50-
# does not implemented the tried method.
50+
# does not implement the tried method.
5151
def try!(*a, &b)
5252
if a.empty? && block_given?
5353
yield self

0 commit comments

Comments
 (0)