class DeepCover::Node::TrivialBranch
Public Class Methods
new(other_branch:, condition:, position: true)
click to toggle source
Calls superclass method
DeepCover::Node::EmptyBody::new
# File lib/deep_cover/node/branch.rb, line 21 def initialize(other_branch:, condition:, position: true) @condition = condition @other_branch = other_branch super(nil, parent: condition.parent, position: position) end
Public Instance Methods
flow_entry_count()
click to toggle source
# File lib/deep_cover/node/branch.rb, line 27 def flow_entry_count @condition.flow_completion_count - @other_branch.flow_entry_count end