lib/mixlib/config.rb in mixlib-config-2.0.0.rc.3 vs lib/mixlib/config.rb in mixlib-config-2.0.0.rc.4
- old
+ new
@@ -77,10 +77,10 @@
# value:: The new value of the config option
#
# === Raises
# <UnknownConfigOptionError>:: If the config option does not exist and strict mode is on.
def []=(config_option, value)
- internal_set(config_option, value)
+ internal_set(config_option.to_sym, value)
end
# Check if Mixlib::Config has a config option.
#
# === Parameters