Class: OpenHAB::DSL::Support::TimerManager

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/openhab/dsl/timers/timer.rb

Instance Method Summary collapse

Instance Method Details

#execute_timersObject



79
80
81
# File 'lib/rspec/openhab/dsl/timers/timer.rb', line 79

def execute_timers
  @timers.each { |t| t.execute if t.active? && t.execution_time < ZonedDateTime.now }
end