lib/threadStackCombinator.rb in WasThreadStackProcessor-0.1.4 vs lib/threadStackCombinator.rb in WasThreadStackProcessor-0.1.5
- old
+ new
@@ -1,11 +1,11 @@
-class ThreadStackCombinator
- attr_accessor :combinedThreadStacks
-
- def initialize
- @combinedThreadStacks = Array.new
- end
-
- def combine(threadStack)
- @combinedThreadStacks << threadStack unless @combinedThreadStacks.count { |combinedThreadStack| combinedThreadStack.merge(threadStack)} > 0
- end
+class ThreadStackCombinator
+ attr_accessor :combinedThreadStacks
+
+ def initialize
+ @combinedThreadStacks = Array.new
+ end
+
+ def combine(threadStack)
+ @combinedThreadStacks << threadStack unless @combinedThreadStacks.count { |combinedThreadStack| combinedThreadStack.merge(threadStack)} > 0
+ end
end
\ No newline at end of file