about summary refs log tree commit homepage
path: root/lib/clogger/pure.rb
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 /lib/clogger/pure.rb
parent2c43727f8e689ef5998d773feb4cbb2f58009391 (diff)
downloadclogger-fae26b8e56f6b6e4c6d75f8faa8570ee209ef757.tar.gz
No need to actually create the hash, just load the constant
Diffstat (limited to 'lib/clogger/pure.rb')
-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]