lib/rubocop/cop/style/method_def_parentheses.rb in rubocop-0.68.1 vs lib/rubocop/cop/style/method_def_parentheses.rb in rubocop-0.69.0

- old
+ new

@@ -86,12 +86,12 @@ # end class MethodDefParentheses < Cop include ConfigurableEnforcedStyle include RangeHelp - MSG_PRESENT = 'Use def without parentheses.'.freeze + MSG_PRESENT = 'Use def without parentheses.' MSG_MISSING = 'Use def with parentheses when there are ' \ - 'parameters.'.freeze + 'parameters.' def on_def(node) args = node.arguments if require_parentheses?(args)