Method: Vagrant::Plugin::V1::Manager#config

Defined in:
lib/vagrant/plugin/v1/manager.rb

#configHash

This returns all the registered configuration classes.

Returns:

  • (Hash)


33
34
35
36
37
38
39
40
41
42
43
# File 'lib/vagrant/plugin/v1/manager.rb', line 33

def config
  result = {}

  @registered.each do |plugin|
    plugin.config.each do |key, klass|
      result[key] = klass
    end
  end

  result
end