class ASTree::PrettyNode::DREGX

Public Instance Methods

label_name(index) click to toggle source
# File lib/astree/pretty_node/dregx.rb, line 2
def label_name(index)
  case index
  when 0
    'preceding string'
  when 2
    'tailing string'
  end
end