class TestQueue::Worker

Attributes

end_time[RW]
failure_output[RW]
host[RW]
num[RW]
output[RW]
pid[RW]
start_time[RW]
stats[RW]
status[RW]
summary[RW]

Public Class Methods

new(pid, num) click to toggle source
# File lib/test_queue/runner.rb, line 11
def initialize(pid, num)
  @pid = pid
  @num = num
  @start_time = Time.now
  @output = ''
  @stats = {}
end

Public Instance Methods

lines() click to toggle source
# File lib/test_queue/runner.rb, line 19
def lines
  @output.split("\n")
end