Class: Rucoa::Nodes::RescueNode
- Defined in:
- lib/rucoa/nodes/rescue_node.rb
Instance Method Summary collapse
Methods inherited from Base
#ancestors, #child_nodes, #descendant_nodes, #each_ancestor, #each_child_node, #each_descendant_node, #include_position?, #initialize, #module_nesting, #namespace, #next_sibling_nodes, #parent, #parent=, #previous_sibling_nodes, #updated
Constructor Details
This class inherits a constructor from Rucoa::Nodes::Base
Instance Method Details
#body ⇒ Rucoa::Nodes::Base?
7 8 9 |
# File 'lib/rucoa/nodes/rescue_node.rb', line 7 def body children[0] end |
#resbodies ⇒ Array<Rucoa::Nodes::Resbody>
12 13 14 |
# File 'lib/rucoa/nodes/rescue_node.rb', line 12 def resbodies children[1..-2] end |