diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-01-21 09:04:39 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-21 09:04:39 +0000 |
commit | fae26b8e56f6b6e4c6d75f8faa8570ee209ef757 (patch) | |
tree | bf5ea12d2b8728ab1f33e34aa610e5de0b519f43 /lib/clogger/pure.rb | |
parent | 2c43727f8e689ef5998d773feb4cbb2f58009391 (diff) | |
download | clogger-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.rb | 2 |
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] |