From 15631717fce044fbad2f386a7b1c7daf4bdd83d2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 21 Oct 2010 16:25:39 -0700 Subject: code shuffling for kgio Despite the large number of changes, most of it is code movement here. --- lib/rainbows/client.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/rainbows/client.rb (limited to 'lib/rainbows/client.rb') diff --git a/lib/rainbows/client.rb b/lib/rainbows/client.rb new file mode 100644 index 0000000..8956509 --- /dev/null +++ b/lib/rainbows/client.rb @@ -0,0 +1,9 @@ +# -*- encoding: binary -*- +# :enddoc: + +require 'rainbows/read_timeout' + +class Rainbows::Client < Kgio::Socket + include Rainbows::ReadTimeout +end +Kgio.accept_class = Rainbows::Client -- cgit v1.2.3-24-ge0c7