Class: Rucoa::Nodes::BlockNode
- Defined in:
- lib/rucoa/nodes/block_node.rb
Instance Method Summary collapse
Methods included from Rucoa::NodeConcerns::Rescue
Methods included from Rucoa::NodeConcerns::Body
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
#arguments ⇒ Array<Rucoa::Nodes::ArgNode>
19 20 21 |
# File 'lib/rucoa/nodes/block_node.rb', line 19 def arguments children[-2] end |
#send_node ⇒ Rucoa::Nodes::SendNode
33 34 35 |
# File 'lib/rucoa/nodes/block_node.rb', line 33 def send_node children[0] end |