Class: OpenHAB::Core::Things::Thing::Properties
- Inherits:
-
Object
- Object
- OpenHAB::Core::Things::Thing::Properties
- Includes:
- EmulateHash
- Defined in:
- lib/openhab/core/things/thing.rb
Overview
Properties wrapper class to allow setting Thing's properties with hash-like syntax
Instance Method Summary collapse
-
#initialize(thing) ⇒ Properties
constructor
A new instance of Properties.
Methods included from Enumerable
#all_groups, #all_members, #command, #command!, #decrease, #down, #equipments, #fast_forward, #groups, #increase, #locations, #member_of, #members, #move, #next, #not_member_of, #not_tagged, #off, #on, #pause, #play, #points, #previous, #refresh, #rewind, #stop, #tagged, #toggle, #up, #update, #update!
Constructor Details
#initialize(thing) ⇒ Properties
Returns a new instance of Properties.
106 107 108 |
# File 'lib/openhab/core/things/thing.rb', line 106 def initialize(thing) @thing = thing end |