Module: ActiveJob::RunAt
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/delayed_job/active_job/run_at.rb
Overview
Includes the ability to override when a job should run.
Instance Method Summary collapse
Instance Method Details
#run_at ⇒ Object
11 12 13 14 |
# File 'lib/delayed_job/active_job/run_at.rb', line 11 def run_at @run_at = instance_exec(&@run_at) if @run_at.is_a?(Proc) @run_at end |