Method: Vagrant::Config::V2::Loader.finalize

Defined in:
lib/vagrant/config/v2/loader.rb

.finalize(config) ⇒ Object

Finalizes the configuration by making sure there is at least one VM defined in it.



18
19
20
21
22
23
24
25
# File 'lib/vagrant/config/v2/loader.rb', line 18

def self.finalize(config)
  # Call the `#finalize` method on each of the configuration keys.
  # They're expected to modify themselves in our case.
  config.finalize!

  # Return the object
  config
end