Class: OpenHAB::Core::Things::Thing::Properties

Inherits:
Object
  • Object
show all
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

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