string keys to symbol

This commit is contained in:
xudeke
2014-12-09 21:17:17 +08:00
parent 4fbfdbf472
commit 40bf2cfbbb
+1
View File
@@ -41,6 +41,7 @@ module Qiniu
def load config_file
if File.exist?(config_file)
config_options = YAML.load_file(config_file)
config_options.symbolize_keys!
initialize_connect(config_options)
else
raise MissingConfError, config_file