Class: Group
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#lights ⇒ Object
Returns the value of attribute lights.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(id = nil, data = {}) ⇒ Group
constructor
A new instance of Group.
Methods inherited from HObject
Constructor Details
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
4 5 6 |
# File 'lib/lights/group.rb', line 4 def action @action end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
4 5 6 |
# File 'lib/lights/group.rb', line 4 def data @data end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/lights/group.rb', line 4 def id @id end |
#lights ⇒ Object
Returns the value of attribute lights.
4 5 6 |
# File 'lib/lights/group.rb', line 4 def lights @lights end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/lights/group.rb', line 4 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
4 5 6 |
# File 'lib/lights/group.rb', line 4 def type @type end |