lib/rubocop/cop/style/redundant_freeze.rb in rubocop-0.72.0 vs lib/rubocop/cop/style/redundant_freeze.rb in rubocop-0.73.0
- old
+ new
@@ -49,10 +49,10 @@
else
node
end
end
- def_node_matcher :operation_produces_immutable_object?, <<-PATTERN
+ def_node_matcher :operation_produces_immutable_object?, <<~PATTERN
{
(begin (send {float int} {:+ :- :* :** :/ :% :<<} _))
(begin (send !(str _) {:+ :- :* :** :/ :%} {float int}))
(begin (send _ {:== :=== :!= :<= :>= :< :>} _))
(send (const nil? :ENV) :[] _)