Class: BackgroundQueue::Worker::WorkerLoader::WorkerEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/background_queue/worker/worker_loader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#datestampObject

Returns the value of attribute datestamp.



70
71
72
# File 'lib/background_queue/worker/worker_loader.rb', line 70

def datestamp
  @datestamp
end

#nameObject

Returns the value of attribute name.



71
72
73
# File 'lib/background_queue/worker/worker_loader.rb', line 71

def name
  @name
end

#pathObject

Returns the value of attribute path.



69
70
71
# File 'lib/background_queue/worker/worker_loader.rb', line 69

def path
  @path
end

#workerObject

Returns the value of attribute worker.



68
69
70
# File 'lib/background_queue/worker/worker_loader.rb', line 68

def worker
  @worker
end