diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-05 17:50:04 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-05 17:50:04 -0700 |
commit | 9d9e622bb1554921d750f8298366ee592adcbbb5 (patch) | |
tree | 9a68422bb64d565f2d3e4dcc7cbea4535792b1ce /lib/rainbows/base.rb | |
parent | 11198b5154758322054b8e5ca572748fcad4d118 (diff) | |
download | rainbows-9d9e622bb1554921d750f8298366ee592adcbbb5.tar.gz |
This was breaking badly under 1.8 since Revactor couldn't be included (the constant is listed once it is declared as an autoload).
Diffstat (limited to 'lib/rainbows/base.rb')
-rw-r--r-- | lib/rainbows/base.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/rainbows/base.rb b/lib/rainbows/base.rb index 0e5843d..07fb584 100644 --- a/lib/rainbows/base.rb +++ b/lib/rainbows/base.rb @@ -60,9 +60,7 @@ module Rainbows end def self.included(klass) - HttpServer.constants.each do |x| - klass.const_set(x, HttpServer.const_get(x)) - end + klass.const_set :LISTENERS, HttpServer::LISTENERS end end |