diff options
author | danielsdeleo <dan@getchef.com> | 2015-05-26 11:24:34 -0700 |
---|---|---|
committer | danielsdeleo <dan@getchef.com> | 2015-05-26 11:24:34 -0700 |
commit | a762d1501c6c143929dfa812e204e0306704f34b (patch) | |
tree | b93a41a6441a4fb71cdbbed2ab25e3b81a3641ee | |
parent | d7bdd7c999e13a0bd67607011731a536323dd51c (diff) | |
download | mixlib-config-a762d1501c6c143929dfa812e204e0306704f34b.tar.gz |
Fix ruby warnings for access of undefined instance variable
-rw-r--r-- | lib/mixlib/config.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mixlib/config.rb b/lib/mixlib/config.rb index 93419ee..07e9809 100644 --- a/lib/mixlib/config.rb +++ b/lib/mixlib/config.rb @@ -34,6 +34,11 @@ module Mixlib base.configuration = Hash.new base.configurables = Hash.new base.config_contexts = Hash.new + base.initialize_mixlib_config + end + + def initialize_mixlib_config + @config_strict_mode = nil end # Loads a given ruby file, and runs instance_eval against it in the context of the current |