Class: Work

Inherits:
Queue show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/minitest-5.17.0/lib/minitest/test_task.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(jobs = []) ⇒ Work

:nodoc:



281
282
283
284
285
286
287
288
289
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/minitest-5.17.0/lib/minitest/test_task.rb', line 281

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

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

  close
end