diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-10-22 16:21:03 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-10-22 16:21:03 -0700 |
commit | 180485d49ea858f83ef2a28a9e07224aa514edc7 (patch) | |
tree | b4c649d2118c0010bf3876a49dadfe3e4cbc3f86 /lib/rainbows.rb | |
parent | 41145ed4d335718ac43aec9313b7571a12fe96ee (diff) | |
download | rainbows-180485d49ea858f83ef2a28a9e07224aa514edc7.tar.gz |
This simplifies and disambiguates most constant resolution issues as well as lowering our identation level. Hopefully this makes code easier to understand.
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r-- | lib/rainbows.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb index b614b67..7a29232 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -4,9 +4,6 @@ require 'unicorn' # the value passed to TCP_DEFER_ACCEPT actually matters in Linux 2.6.32+ Unicorn::SocketHelper::DEFAULTS[:tcp_defer_accept] = 60 -require 'rainbows/error' -require 'rainbows/configurator' - module Rainbows # global vars because class/instance variables are confusing me :< @@ -117,3 +114,6 @@ module Rainbows autoload :HttpResponse, 'rainbows/http_response' # deprecated autoload :ThreadTimeout, 'rainbows/thread_timeout' end + +require 'rainbows/error' +require 'rainbows/configurator' |