Method: Modbus::ProtocolData#shift_byte
- Defined in:
- lib/modbus/connection/protocol_data.rb
#shift_byte ⇒ Integer
Shifts one bytes off the from front of the array.
51 52 53 54 |
# File 'lib/modbus/connection/protocol_data.rb', line 51 def shift_byte # self.shift self.slice!(0,1).first end |