Method: ActiveSupport::Testing::Parallelization::Worker#initialize

Defined in:
lib/active_support/testing/parallelization/worker.rb

#initialize(number, url) ⇒ Worker

Returns a new instance of Worker.



7
8
9
10
11
12
# File 'lib/active_support/testing/parallelization/worker.rb', line 7

def initialize(number, url)
  @id = SecureRandom.uuid
  @number = number
  @url = url
  @setup_exception = nil
end