lib/rubocop/cop/style/method_def_parentheses.rb in rubocop-0.58.2 vs lib/rubocop/cop/style/method_def_parentheses.rb in rubocop-0.59.0
- old
+ new
@@ -58,11 +58,11 @@
# do_something
# end
#
# @example EnforcedStyle: require_no_parentheses_except_multiline
# # The `require_no_parentheses_except_multiline` style prefers no
- # # parantheses when method definition arguments fit on single line,
- # # but prefers parantheses when arguments span multiple lines.
+ # # parentheses when method definition arguments fit on single line,
+ # # but prefers parentheses when arguments span multiple lines.
#
# # bad
# def bar(num1, num2)
# num1 + num2
# end