diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-04-13 07:55:11 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-04-13 07:55:11 +0000 |
commit | 1355d262288352c2ced67cefc2301cee79bec0dd (patch) | |
tree | de274bc392a26ad73365d6781d6152eb3c15f100 /lib | |
parent | 30ece1c7cc66b2fc816b1361e498ca0d4a554a78 (diff) | |
download | unicorn-1355d262288352c2ced67cefc2301cee79bec0dd.tar.gz |
Oops, changing a method definition for RDoc means code needs to be updated, too :x
Diffstat (limited to 'lib')
-rw-r--r-- | lib/unicorn/configurator.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb index 2a235d9..595d105 100644 --- a/lib/unicorn/configurator.rb +++ b/lib/unicorn/configurator.rb @@ -116,8 +116,8 @@ class Unicorn::Configurator # to /dev/null. def logger(obj) %w(debug info warn error fatal).each do |m| - new.respond_to?(m) and next - raise ArgumentError, "logger=#{new} does not respond to method=#{m}" + obj.respond_to?(m) and next + raise ArgumentError, "logger=#{obj} does not respond to method=#{m}" end set[:logger] = obj |