lib/rubocop/cop/style/lambda.rb in rubocop-0.73.0 vs lib/rubocop/cop/style/lambda.rb in rubocop-0.74.0

- old
+ new

@@ -60,11 +60,9 @@ literal: { single_line: 'lambda', multiline: 'lambda' }, line_count_dependent: { single_line: 'lambda', multiline: '->' } } }.freeze - def_node_matcher :lambda_node?, '(block $(send nil? :lambda) ...)' - def on_block(node) return unless node.lambda? selector = node.send_node.source