class Unparser::Emitter::Def
Emitter for def node
def dispatch
def dispatch write('def ') emit_name emit_arguments emit_optional_body_ensure_rescue(body) k_end end
def emit_arguments
def emit_arguments return if arguments.children.empty? parentheses do writer_with(Args, node: arguments).emit_def_arguments end end