lib/jazzy/config.rb in jazzy-0.8.2 vs lib/jazzy/config.rb in jazzy-0.8.3
- old
+ new
@@ -400,10 +400,10 @@
self.base_path = config_path.parent
puts "Using config file #{config_path}"
config_file = read_config_file(config_path)
- attrs_by_conf_key, attrs_by_name = %i(config_file_key name).map do |prop|
+ attrs_by_conf_key, attrs_by_name = %i[config_file_key name].map do |prop|
self.class.all_config_attrs.group_by(&prop)
end
config_file.each do |key, value|
unless attr = attrs_by_conf_key[key]