class Unparser::Emitter::InPattern
Emitter for in pattern nodes
def dispatch
def dispatch write('in') ws dispatch_target(target) if unless_guard ws visit(unless_guard) end if branch ws write('then') emit_body(branch) else nl end end
def dispatch_target(target)
def dispatch_target(target) if n_array?(target) writer_with(Writer::Array, node: target).emit_compact else visit(target) end end