Class: EvaledJob
- Inherits:
-
Object
- Object
- EvaledJob
- Defined in:
- lib/dm-delayed-job/job.rb
Instance Method Summary collapse
-
#initialize ⇒ EvaledJob
constructor
A new instance of EvaledJob.
- #perform ⇒ Object
Constructor Details
#initialize ⇒ EvaledJob
Returns a new instance of EvaledJob.
304 305 306 |
# File 'lib/dm-delayed-job/job.rb', line 304 def initialize @job = yield end |
Instance Method Details
#perform ⇒ Object
308 309 310 |
# File 'lib/dm-delayed-job/job.rb', line 308 def perform eval(@job) end |