Class: RDG::Control::Begin
- Defined in:
- lib/rdg/control/begin.rb
Instance Method Summary collapse
Methods inherited from Analyser
Constructor Details
This class inherits a constructor from RDG::Control::Analyser
Instance Method Details
#end_nodes ⇒ Object
14 15 16 |
# File 'lib/rdg/control/begin.rb', line 14 def end_nodes children.last(1) end |
#internal_flow_edges ⇒ Object
6 7 8 |
# File 'lib/rdg/control/begin.rb', line 6 def internal_flow_edges children.each_cons(2).to_a end |
#start_nodes ⇒ Object
10 11 12 |
# File 'lib/rdg/control/begin.rb', line 10 def start_nodes children.first(1) end |