diff options
-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 |