diff options
-rw-r--r-- | lib/mixlib/config.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/mixlib/config.rb b/lib/mixlib/config.rb index b70c11d..93419ee 100644 --- a/lib/mixlib/config.rb +++ b/lib/mixlib/config.rb @@ -92,10 +92,9 @@ module Mixlib # === 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. # |