class ASTree::PrettyNode::MASGN

Public Instance Methods

label_name(index) click to toggle source
# File lib/astree/pretty_node/masgn.rb, line 2
def label_name(index)
  case index
  when 0
    'right hand side'
  when 1
    'left hand side'
  when 2
    'rest variable'
  end
end