Class: BackgroundQueue::Worker::WorkerLoader::WorkerEntry
- Inherits:
-
Object
- Object
- BackgroundQueue::Worker::WorkerLoader::WorkerEntry
- Defined in:
- lib/background_queue/worker/worker_loader.rb
Instance Attribute Summary collapse
-
#datestamp ⇒ Object
Returns the value of attribute datestamp.
-
#name ⇒ Object
Returns the value of attribute name.
-
#path ⇒ Object
Returns the value of attribute path.
-
#worker ⇒ Object
Returns the value of attribute worker.
Instance Method Summary collapse
-
#initialize(worker, path, datestamp, name) ⇒ WorkerEntry
constructor
A new instance of WorkerEntry.
Constructor Details
#initialize(worker, path, datestamp, name) ⇒ WorkerEntry
Returns a new instance of WorkerEntry.
73 74 75 76 77 78 |
# File 'lib/background_queue/worker/worker_loader.rb', line 73 def initialize(worker, path, datestamp, name) @worker = worker @path = path @datestamp = datestamp @name = name end |
Instance Attribute Details
#datestamp ⇒ Object
Returns the value of attribute datestamp.
70 71 72 |
# File 'lib/background_queue/worker/worker_loader.rb', line 70 def datestamp @datestamp end |
#name ⇒ Object
Returns the value of attribute name.
71 72 73 |
# File 'lib/background_queue/worker/worker_loader.rb', line 71 def name @name end |
#path ⇒ Object
Returns the value of attribute path.
69 70 71 |
# File 'lib/background_queue/worker/worker_loader.rb', line 69 def path @path end |
#worker ⇒ Object
Returns the value of attribute worker.
68 69 70 |
# File 'lib/background_queue/worker/worker_loader.rb', line 68 def worker @worker end |