lib/rubocop/cop/style/method_def_parentheses.rb in rubocop-1.29.1 vs lib/rubocop/cop/style/method_def_parentheses.rb in rubocop-1.30.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module RuboCop
module Cop
module Style
- # This cop checks for parentheses around the arguments in method
+ # Checks for parentheses around the arguments in method
# definitions. Both instance and class/singleton methods are checked.
#
# Regardless of style, parentheses are necessary for:
#
# 1. Endless methods