use IO#wait instead of IO.select for single readers
commit85784e1b5fca7bbadc7fb5dba1f100785188954f
authorEric Wong <normalperson@yhbt.net>
Mon, 28 Feb 2011 03:10:55 +0000 (28 03:10 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 28 Feb 2011 03:10:55 +0000 (28 03:10 +0000)
treefd50cab35fb68f30a8dbbdbdb9f369398008ea27
parent829d58c261ba64bb4f512c6591eba2f468df15a6
use IO#wait instead of IO.select for single readers

It's a simpler interface and avoids allocating an array
which is nice.
lib/rainbows/client.rb