Method: Pio::Type::MacAddress#get

Defined in:
lib/pio/type/mac_address.rb

#getObject



16
17
18
19
20
# File 'lib/pio/type/mac_address.rb', line 16

def get
  Mac.new(octets.reduce('') do |str, each|
            str + format('%02x', each)
          end.hex)
end