class Net::SSH::Connection::Channel

def do_success

argument.
Invokes the next pending request callback with +true+ as the second
def do_success
  if callback = pending_requests.shift
    callback.call(self, true)
  else
    error { "channel success received with no pending request to handle it (bug?)" }
  end
end