lib/rubocop/cop/naming/block_parameter_name.rb in rubocop-0.88.0 vs lib/rubocop/cop/naming/block_parameter_name.rb in rubocop-0.89.0
- old
+ new
@@ -33,10 +33,10 @@
# end
#
# foo { |speed, distance| speed * distance }
#
# baz { |age, height, gender| do_stuff(age, height, gender) }
- class BlockParameterName < Cop
+ class BlockParameterName < Base
include UncommunicativeName
def on_block(node)
return unless node.arguments?