class Net::SSH::Test::Script
def process(packet)
no next event, an exception will be raised. This is called by
Compare the given packet against the next event in the list. If there is
def process(packet) event = events.shift or raise "end of script reached, but got a packet type #{packet.read_byte}" event.process(packet) end