fixed an issue with loading configs

This commit is contained in:
2011-02-22 12:05:26 +00:00
parent bc69e8970e
commit 18c89b1e0f

View File

@@ -7,7 +7,7 @@ module AMQP
attr_accessor :last_fail
def initialize(hash = {}, last_fail_date = nil)
self.replace(symbolize_keys(defaults.merge(hash)))
self.replace(defaults.merge(symbolize_keys(hash)))
self.last_fail = last_fail_date if last_fail_date
end