Module: OpenHAB::DSL::Items::Ensure::Ensurable
- Included in:
- Core::Items::GroupItem::Members, Item
- Defined in:
- lib/openhab/dsl/items/ensure.rb
Overview
Contains the ensure
method mixed into Item and Core::Items::GroupItem::Members
Instance Method Summary collapse
-
#ensure ⇒ Object
Fluent method call that you can chain commands on to, that will then automatically ensure that the item is not in the command's state before sending the command.
Instance Method Details
#ensure ⇒ Object
Fluent method call that you can chain commands on to, that will then automatically ensure that the item is not in the command's state before sending the command.
20 21 22 |
# File 'lib/openhab/dsl/items/ensure.rb', line 20 def ensure ItemDelegate.new(self) end |