Module: DeepCover::Node::WithBlock

Included in:
SendWithBlock, SuperWithBlock
Defined in:
lib/deep_cover/node/block.rb

Instance Method Summary collapse

Instance Method Details

#execution_countObject



13
14
15
16
17
# File 'lib/deep_cover/node/block.rb', line 13

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

#flow_completion_countObject



9
10
11
# File 'lib/deep_cover/node/block.rb', line 9

def flow_completion_count
  parent.flow_completion_count
end