about summary refs log tree commit homepage
path: root/lib/rainbows/http_server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/http_server.rb')
-rw-r--r--lib/rainbows/http_server.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rainbows/http_server.rb b/lib/rainbows/http_server.rb
index 355f3c5..3c2c035 100644
--- a/lib/rainbows/http_server.rb
+++ b/lib/rainbows/http_server.rb
@@ -25,8 +25,7 @@ module Rainbows
     end
 
     def use=(model)
-      (class << self; self; end).instance_eval { include model }
-      @use = model
+      extend(@use = model)
     end
 
   end