Class: Vagrant::Config::Loader
- Inherits:
-
Object
- Object
- Vagrant::Config::Loader
- Defined in:
- lib/core/vagrant/config.rb
Instance Method Summary collapse
Instance Method Details
#clear_config_cache(sources = nil) ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/core/vagrant/config.rb', line 19 def clear_config_cache(sources = nil) @config_cache = {} if sources keep = {} sources.each do |source| keep[source] = @sources[source] if @sources[source] end @sources = keep end end |