lib/rubocop/cop/performance/redundant_merge.rb in rubocop-performance-1.2.0 vs lib/rubocop/cop/performance/redundant_merge.rb in rubocop-performance-1.3.0

- old
+ new

@@ -9,13 +9,13 @@ # @example # hash.merge!(a: 1) # hash.merge!({'key' => 'value'}) # hash.merge!(a: 1, b: 2) class RedundantMerge < Cop - AREF_ASGN = '%<receiver>s[%<key>s] = %<value>s'.freeze - MSG = 'Use `%<prefer>s` instead of `%<current>s`.'.freeze + AREF_ASGN = '%<receiver>s[%<key>s] = %<value>s' + MSG = 'Use `%<prefer>s` instead of `%<current>s`.' - WITH_MODIFIER_CORRECTION = <<-RUBY.strip_indent + WITH_MODIFIER_CORRECTION = <<~RUBY %<keyword>s %<condition>s %<leading_space>s%<indent>s%<body>s %<leading_space>send RUBY