Class: StepperMotor::CyclicScheduler::RunSchedulingCycleJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- StepperMotor::CyclicScheduler::RunSchedulingCycleJob
- Defined in:
- lib/stepper_motor/cyclic_scheduler.rb
Instance Method Summary collapse
Instance Method Details
#perform ⇒ Object
23 24 25 26 27 |
# File 'lib/stepper_motor/cyclic_scheduler.rb', line 23 def perform scheduler = StepperMotor.scheduler return unless scheduler.is_a?(StepperMotor::CyclicScheduler) scheduler.run_scheduling_cycle end |