Class: EIBInt16

Inherits:
Object
  • Object
show all
Defined in:
lib/ansible/knx/EIBConnection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value = 0) ⇒ EIBInt16

Returns a new instance of EIBInt16.



56
57
58
# File 'lib/ansible/knx/EIBConnection.rb', line 56

def initialize(value = 0)
  @data = value
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



55
56
57
# File 'lib/ansible/knx/EIBConnection.rb', line 55

def data
  @data
end