Sha256: 9c6ab7fea28ef598adad8bae7addc802c14a699d75e9cbb765fc4c68c055a834
Contents?: true
Size: 529 Bytes
Versions: 1
Compression:
Stored size: 529 Bytes
Contents
= tcpsocket-wait Adds (monkey patches) the following methods: TCPSocket::wait_for_service_with_timeout TCPSocket::wait_for_service_termination_with_timeout Example usage: server.start(PORT) TCPSocket.wait_for_service_with_timeout :host => "localhost", :port => PORT, :timeout => 5 talk_to_server Original code was taken from the Selenium and Webrat projects. I extracted it into it's own gem since I found it useful for various other projects. == Copyright Copyright (c) 2010 Ben Mabey. See LICENSE for details.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tcpsocket-wait-1.0.0 | README.rdoc |