lib/invoker/reactor.rb
def send_data(socket, data)
      socket.write(data)
    rescue
      raise Invoker::Errors::ClientDisconnected
    end
# Writes data to client socket and raises error if errors
# while writing
Writes data to client socket and raises error if errors
while writing
Writes data to client socket and raises error if errors while writing
def send_data(socket, data)
      socket.write(data)
    rescue
      raise Invoker::Errors::ClientDisconnected
    end
def send_data ( socket , data ) socket . write ( data ) rescue raise Invoker :: Errors :: ClientDisconnected end
Writes data to client socket and raises error if errors
while writing
Writes data to client socket and raises error if errors while writing
socket
data