about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-21 09:04:39 +0000
committerEric Wong <normalperson@yhbt.net>2011-01-21 09:04:39 +0000
commitfae26b8e56f6b6e4c6d75f8faa8570ee209ef757 (patch)
treebf5ea12d2b8728ab1f33e34aa610e5de0b519f43
parent2c43727f8e689ef5998d773feb4cbb2f58009391 (diff)
No need to actually create the hash, just load the constant
-rw-r--r--lib/clogger/pure.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/clogger/pure.rb b/lib/clogger/pure.rb
index 3f54819..3737dd8 100644
--- a/lib/clogger/pure.rb
+++ b/lib/clogger/pure.rb
@@ -10,7 +10,7 @@ class Clogger
 
   def initialize(app, opts = {})
     # trigger autoload to avoid thread-safety issues later on
-    Rack::Utils::HeaderHash.new({})
+    Rack::Utils::HeaderHash
 
     @app = app
     @logger = opts[:logger]