Module: DeepCover::Node::Mixin::ExecutedAfterChildren

Defined in:
lib/deep_cover/node/mixin/executed_after_children.rb

Overview

By default, nodes are considered executed if they are entered. Some are considered executed only if their arguments complete.

Instance Method Summary collapse

Instance Method Details

#execution_countObject



8
9
10
11
12
# File 'lib/deep_cover/node/mixin/executed_after_children.rb', line 8

def execution_count
  last = children_nodes_in_flow_order.last
  return last.flow_completion_count if last
  super
end