lib/rubocop/cop/style/align_hash.rb in rubocop-0.41.2 vs lib/rubocop/cop/style/align_hash.rb in rubocop-0.42.0
- old
+ new
@@ -246,10 +246,10 @@
corrector.remove(range)
end
end
def good_alignment?
- @column_deltas.values.compact.none? { |v| v != 0 }
+ @column_deltas.values.compact.all?(&:zero?)
end
end
end
end
end