Class: OpenHAB::DSL::Support::TimerManager
- Inherits:
-
Object
- Object
- OpenHAB::DSL::Support::TimerManager
- Defined in:
- lib/rspec/openhab/dsl/timers/timer.rb
Instance Method Summary collapse
Instance Method Details
#execute_timers ⇒ Object
82 83 84 |
# File 'lib/rspec/openhab/dsl/timers/timer.rb', line 82 def execute_timers @timers.each { |t| t.execute if t.active? && t.execution_time < ZonedDateTime.now } end |