Class: Work

Inherits:
Queue show all
Defined in:
lib/minitest/test_task.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(jobs = []) ⇒ Work

:nodoc:



306
307
308
309
310
311
312
313
314
# File 'lib/minitest/test_task.rb', line 306

def initialize jobs = [] # :nodoc:
  super()

  jobs.each do |job|
    self << job
  end

  close
end