class ThreadStackCombinator
Attributes
combinedThreadStacks[RW]
Public Class Methods
new()
click to toggle source
# File lib/threadStackCombinator.rb, line 4 def initialize @combinedThreadStacks = Array.new end
Public Instance Methods
combine(threadStack)
click to toggle source
# File lib/threadStackCombinator.rb, line 8 def combine(threadStack) @combinedThreadStacks << threadStack unless @combinedThreadStacks.count { |combinedThreadStack| combinedThreadStack.merge(threadStack)} > 0 end