Class: Rector::Job::WorkerCollection
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Rector::Job::WorkerCollection
- Defined in:
- lib/rector/job.rb
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize(job) ⇒ WorkerCollection
constructor
A new instance of WorkerCollection.
Constructor Details
#initialize(job) ⇒ WorkerCollection
Returns a new instance of WorkerCollection.
7 8 9 10 11 12 |
# File 'lib/rector/job.rb', line 7 def initialize(job) @job = job # Wraps an array super(Array.new) end |