lib/rubocop/cop/performance/redundant_merge.rb in rubocop-performance-1.4.1 vs lib/rubocop/cop/performance/redundant_merge.rb in rubocop-performance-1.5.0
- old
+ new
@@ -130,10 +130,10 @@
def indent_width
@config.for_cop('IndentationWidth')['Width'] || 2
end
def max_key_value_pairs
- Integer(cop_config['MaxKeyValuePairs']) || 2
+ Integer(cop_config['MaxKeyValuePairs'] || 2)
end
# A utility class for checking the use of values within an
# `each_with_object` call.
class EachWithObjectInspector