summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-10-27 12:46:46 -0700
committerEric Wong <normalperson@yhbt.net>2010-10-27 21:14:07 +0000
commit19b0ac826b9afd283f4cf5c57d554d20f24d2b46 (patch)
treebc79a982974ebd6e78c8eb69721ca78adb0f7e18
parent5a220b889ba9e56ea9fea24bbae4e38e7d7e31d5 (diff)
It's less ambiguous since this is a network server after all.
(cherry picked from commit f62c5850d7d17d7b5e301a494f8bdf5be3674411)
-rw-r--r--lib/unicorn/configurator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb
index 6be6fbd..1c5ca1a 100644
--- a/lib/unicorn/configurator.rb
+++ b/lib/unicorn/configurator.rb
@@ -43,7 +43,7 @@ class Unicorn::Configurator < Struct.new(:set, :config_file, :after_reload)
     self.after_reload = defaults.delete(:after_reload)
 
     set.merge!(DEFAULTS) if use_defaults
-    defaults.each { |key, value| self.send(key, value) }
+    defaults.each { |key, value| self.__send__(key, value) }
     Hash === set[:listener_opts] or
         set[:listener_opts] = Hash.new { |hash,key| hash[key] = {} }
     Array === set[:listeners] or set[:listeners] = []