about summary refs log tree commit homepage
path: root/lib/rainbows/http_response.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-27 23:58:00 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-27 23:58:00 +0000
commit63d95ac64949a642596946b2b44b2d0bb7b9fefb (patch)
treeaa27ddfd608ec6d0c69d274ed32a322ab4f209f1 /lib/rainbows/http_response.rb
parent8756eac8c0e993caa6f704e27985405f6c9dfa7d (diff)
downloadrainbows-63d95ac64949a642596946b2b44b2d0bb7b9fefb.tar.gz
No point in using a class here, there's no object
Diffstat (limited to 'lib/rainbows/http_response.rb')
-rw-r--r--lib/rainbows/http_response.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rainbows/http_response.rb b/lib/rainbows/http_response.rb
index fdbf3dd..811a793 100644
--- a/lib/rainbows/http_response.rb
+++ b/lib/rainbows/http_response.rb
@@ -2,7 +2,9 @@
 require 'time' # for Time#httpdate
 
 # :stopdoc:
-class Rainbows::HttpResponse < ::Unicorn::HttpResponse
+module Rainbows::HttpResponse
+
+  CODES = Unicorn::HttpResponse::CODES
 
   def self.header_string(status, headers, out)
     status = CODES[status.to_i] || status