From d65fb5896d4c9d019b31834c131b5fb0306ba10e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 9 Jun 2010 21:44:43 +0000 Subject: http_server: use super instead of alias_method duh! --- lib/rainbows/http_server.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/rainbows/http_server.rb b/lib/rainbows/http_server.rb index d009e50..3a30915 100644 --- a/lib/rainbows/http_server.rb +++ b/lib/rainbows/http_server.rb @@ -33,10 +33,8 @@ module Rainbows # connection we accept without wasting cycles. That added to the # fact that we let clients keep idle connections open for long # periods of time means we have to chmod at a fixed interval. - alias_method :set_timeout, :timeout= - undef_method :timeout= def timeout=(nr) - set_timeout(nr + 1) + super(nr + 1) end #:startdoc: -- cgit v1.2.3-24-ge0c7