Class: ASTree::PrettyNode::YIELD

Inherits:
ASTree::PrettyNode show all
Defined in:
lib/astree/pretty_node/yield.rb

Instance Attribute Summary

Attributes inherited from ASTree::PrettyNode

#node

Instance Method Summary collapse

Methods inherited from ASTree::PrettyNode

#element_value, #initialize, #stringify_element

Constructor Details

This class inherits a constructor from ASTree::PrettyNode

Instance Method Details

#label_name(index) ⇒ Object



2
3
4
5
6
7
# File 'lib/astree/pretty_node/yield.rb', line 2

def label_name(index)
  case index
  when 0
    'arguments'
  end
end