celluloid / celluloid-io

UNMAINTAINED: See celluloid/celluloid#779 - Evented sockets for Celluloid actors
https://celluloid.io
MIT License
879 stars 93 forks source link

Fix TCPServer duck typing #68

Closed knewter closed 11 years ago

knewter commented 11 years ago

Ruby's TCPServer takes 1 or 2 arguments. This makes Celluloid::IO::TCPServer operate the same, so that it can be a drop-in replacement in cases where the Ruby TCPServer's hostname is not specified. Fixes #67.

coveralls commented 11 years ago

Coverage Status

Coverage increased (+0%) when pulling 329c848f2dd2262eb44c06af3596db1403845fa5 on knewter:feature/fix-tcpserver-ducktyping into df768cd3cdb2747512cab56f71a8d9b68e9f9161 on celluloid:master.