diff --git a/lib/cheffish/merged_config.rb b/lib/cheffish/merged_config.rb index 9bcee5b..d78a7aa 100644 --- a/lib/cheffish/merged_config.rb +++ b/lib/cheffish/merged_config.rb @@ -24,7 +24,7 @@ def [](name) else result_configs = [] configs.each do |config| - value = config[name] + value = config[name.to_s] || config[name.to_sym] if !value.nil? if value.respond_to?(:keys) result_configs << value