class Net::SSH::Test::Channel

def gets_data(data)

channel.gets_data "bar"

Scripts the reception of a channel data packet from the remote end.
def gets_data(data)
  script.gets_channel_data(self, data)
end