class Unparser::Emitter::Range

Range emitters

Constants

SYMBOLS
TOKENS

Public Instance Methods

symbol_name() click to toggle source
# File lib/unparser/emitter/range.rb, line 17
def symbol_name
  true
end

Private Instance Methods

dispatch() click to toggle source
# File lib/unparser/emitter/range.rb, line 27
def dispatch
  visit(begin_node) if begin_node
  write(TOKENS.fetch(node.type))
  visit(end_node) if end_node
end