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, #to_i

Constructor Details

This class inherits a constructor from Zerbo::Packet

Instance Method Details

#inspectObject



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

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

#to_aObject



206
207
208
# File 'lib/zerbo.rb', line 206

def to_a
  unpack('v7')
end