lib/config/options.rb in config-2.0.0 vs lib/config/options.rb in config-2.1.0

- old
+ new

@@ -141,10 +141,10 @@ marshal_load(__convert(current).marshal_dump) self end # Some keywords that don't play nicely with OpenStruct - SETTINGS_RESERVED_NAMES = %w[select collect test count zip].freeze + SETTINGS_RESERVED_NAMES = %w[select collect test count zip min max].freeze # An alternative mechanism for property access. # This let's you do foo['bar'] along with foo.bar. def [](param) return super if SETTINGS_RESERVED_NAMES.include?(param)