lib/unparser/emitter/op_assign.rb in unparser-0.5.7 vs lib/unparser/emitter/op_assign.rb in unparser-0.6.0
- old
+ new
@@ -5,13 +5,13 @@
# Base class for and and or op-assign
class BinaryAssign < self
children :target, :expression
- MAP = IceNine.deep_freeze(
+ MAP = {
and_asgn: '&&=',
or_asgn: '||='
- )
+ }.freeze
handle(*MAP.keys)
def emit_heredoc_reminders
emitter(target).emit_heredoc_reminders