Sha256: f289d7c23fb8aab9497d1ad1bc718eea23802f89c4859abe964d4bde8621805e

Contents?: true

Size: 376 Bytes

Versions: 14

Compression:

Stored size: 376 Bytes

Contents

module DeepCover
  module Node::Mixin
    # By default, nodes are considered executed if they are entered.
    # Some are considered executed only if their arguments complete.
    module ExecutedAfterChildren
      def execution_count
        last = children_nodes_in_flow_order.last
        return last.flow_completion_count if last
        super
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
deep-cover-0.1.14 lib/deep_cover/node/mixin/executed_after_children.rb
deep-cover-0.1.13 lib/deep_cover/node/mixin/executed_after_children.rb
deep-cover-0.1.12 lib/deep_cover/node/mixin/executed_after_children.rb
deep-cover-0.1.11 lib/deep_cover/node/mixin/executed_after_children.rb
deep-cover-0.1.10 lib/deep_cover/node/mixin/executed_after_children.rb
deep-cover-0.1.9 lib/deep_cover/node/mixin/executed_after_children.rb
deep-cover-0.1.8 lib/deep_cover/node/mixin/executed_after_children.rb
deep-cover-0.1.7 lib/deep_cover/node/mixin/executed_after_children.rb
deep-cover-0.1.6 lib/deep_cover/node/mixin/executed_after_children.rb
deep-cover-0.1.5 lib/deep_cover/node/mixin/executed_after_children.rb
deep-cover-0.1.4 lib/deep_cover/node/mixin/executed_after_children.rb
deep-cover-0.1.3 lib/deep_cover/node/mixin/executed_after_children.rb
deep-cover-0.1.2 lib/deep_cover/node/mixin/executed_after_children.rb
deep-cover-0.1.1 lib/deep_cover/node/mixin/executed_after_children.rb