lib/mixlib/config.rb in mixlib-config-2.2.0 vs lib/mixlib/config.rb in mixlib-config-2.2.1
- old
+ new
@@ -90,13 +90,12 @@
# key<Symbol>:: The config option to check for
#
# === Returns
# <True>:: If the config option exists
# <False>:: If the config option does not exist
- def key?(key)
+ def has_key?(key)
self.configuration.has_key?(key.to_sym)
end
- alias_method :has_key?, :key?
# Resets a config option to its default.
#
# === Parameters
# symbol<Symbol>:: Name of the config option