diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-12 14:07:41 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-12 14:07:41 -0700 |
commit | 44252ad8107e926a09cb42b57b91d4248f13fbff (patch) | |
tree | 5adcc0c57763973fd5ce05bb2f26f3b722665880 | |
parent | 999edafa91924b5ac30258b530574163bd648f19 (diff) | |
parent | 7f46ecec76e61ba988c61d38f7e0ff5ce0f79cfd (diff) | |
download | mixlib-config-44252ad8107e926a09cb42b57b91d4248f13fbff.tar.gz |
Merge pull request #28 from chef/jdm/revert
Revert "Rename has_key? -> key? (BC compatible)"
-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. # |