Class: OpenHAB::DSL::Items::TimedCommand::TimedCommandDetails
- Inherits:
-
Struct
- Object
- Struct
- OpenHAB::DSL::Items::TimedCommand::TimedCommandDetails
- Defined in:
- lib/openhab/dsl/items/timed_command.rb
Overview
Provides information about why the expiration block of a timed command is being called.
Instance Method Summary collapse
Instance Method Details
#cancelled? ⇒ true, false
64 65 66 |
# File 'lib/openhab/dsl/items/timed_command.rb', line 64 def cancelled? resolution == :cancelled end |
#expired? ⇒ true, false
59 60 61 |
# File 'lib/openhab/dsl/items/timed_command.rb', line 59 def expired? resolution == :expired end |