Class: StepperMotor::CyclicScheduler::RunSchedulingCycleJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/stepper_motor/cyclic_scheduler.rb

Instance Method Summary collapse

Instance Method Details

#performObject



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