Class: Zerbo::FrequencyBins

Inherits:
Packet
  • Object
show all
Defined in:
lib/zerbo.rb

Instance Attribute Summary

Attributes inherited from Packet

#data, #owner, #sequence, #type

Instance Method Summary collapse

Methods inherited from Packet

#guess_length, inherited, #initialize, #name, #to_i

Constructor Details

This class inherits a constructor from Zerbo::Packet

Instance Method Details

#inspectObject



214
215
216
# File 'lib/zerbo.rb', line 214

def inspect
  format_inspect(to_a.inspect[1..-2])
end

#to_aObject



210
211
212
# File 'lib/zerbo.rb', line 210

def to_a
  unpack('v7')
end