lib/rubocop/cop/style/lambda.rb in rubocop-0.9.1 vs lib/rubocop/cop/style/lambda.rb in rubocop-0.10.0

- old
+ new

@@ -27,11 +27,9 @@ add_offence(:convention, block_method.loc.expression, SINGLE_MSG) elsif selector == '->' && lambda_length > 0 add_offence(:convention, block_method.loc.expression, MULTI_MSG) end end - - super end private def lambda_length(block_node)