class HomiePair

Class represents a pair of a Homie-Device and a firmware running on this device

Attributes

hdev[R]
hfw[R]

Public Class Methods

new(dev, *fw) click to toggle source
# File lib/hodmin/hodmin_tools.rb, line 207
def initialize(dev, *fw)
  fw.flatten!
  @hdev = dev.nil? ? nil : dev
  @hfw  = fw.empty? ? nil : fw.first
end