From f62c5850d7d17d7b5e301a494f8bdf5be3674411 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 27 Oct 2010 12:46:46 -0700 Subject: configurator: use "__send__" instead of "send" It's less ambiguous since this is a network server after all. --- lib/unicorn/configurator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb index 4acf3c6..9355c66 100644 --- a/lib/unicorn/configurator.rb +++ b/lib/unicorn/configurator.rb @@ -51,7 +51,7 @@ class Unicorn::Configurator 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] = [] -- cgit v1.2.3-24-ge0c7