class Unparser::Emitter::Hookexe

Base class for pre and postexe emitters

Constants

MAP

Private Instance Methods

dispatch() click to toggle source
# File lib/unparser/emitter/hookexe.rb, line 19
def dispatch
  write(MAP.fetch(node.type), ' ')
  parentheses('{', '}') do
    emit_body(body)
  end
end