about summary refs log tree commit homepage
path: root/lib/rainbows.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-07-20 04:32:11 +0000
committerEric Wong <normalperson@yhbt.net>2010-07-20 05:14:58 +0000
commitafb7e51363c646751be1a12083c1c7b184e3fd47 (patch)
tree881dc5d8008f3d55fee0a5768db566ca005d738a /lib/rainbows.rb
parent9c8372c3a4972cacf0eb15ad85d34cb33293672e (diff)
downloadrainbows-afb7e51363c646751be1a12083c1c7b184e3fd47.tar.gz
Its conceivable that we can avoid loading TeeInput for
EventMachine and Rev concurrency models in the future
since it's unused there.
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r--lib/rainbows.rb4
1 files changed, 2 insertions, 2 deletions
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'