#840: convert_config is static now

This commit is contained in:
amartynov 2015-10-26 12:56:50 +03:00
parent a3cb07ab5c
commit 708a1741dc

View File

@ -130,7 +130,7 @@ class Worker
::Provider::ProviderFactory.get(provider_name) if provider_name
end
def convert_config conf
def self.convert_config conf
config = {}
conf.each {|k,v| config[k.is_a?(String) ? k.to_sym : k] = v}
config