From afb7e51363c646751be1a12083c1c7b184e3fd47 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 20 Jul 2010 04:32:11 +0000 Subject: rely on autoload for Base and TeeInput Its conceivable that we can avoid loading TeeInput for EventMachine and Rev concurrency models in the future since it's unused there. --- lib/rainbows.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rainbows.rb') diff --git a/lib/rainbows.rb b/lib/rainbows.rb index d0b3e8a..1a3d6ff 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -34,8 +34,8 @@ module Rainbows require 'rainbows/const' require 'rainbows/http_server' require 'rainbows/response' - require 'rainbows/base' - require 'rainbows/tee_input' + autoload :Base, 'rainbows/base' + autoload :TeeInput, 'rainbows/tee_input' autoload :Sendfile, 'rainbows/sendfile' autoload :AppPool, 'rainbows/app_pool' autoload :DevFdResponse, 'rainbows/dev_fd_response' -- cgit v1.2.3-24-ge0c7