Class: Vagrant::Boxen::ManifestBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-boxen/manifest_builder.rb

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ ManifestBuilder

Returns a new instance of ManifestBuilder.



4
5
6
# File 'lib/vagrant-boxen/manifest_builder.rb', line 4

def initialize(config)
  @config = config
end

Instance Method Details

#buildObject



8
9
10
11
12
# File 'lib/vagrant-boxen/manifest_builder.rb', line 8

def build
  exec_defaults + @config.enabled_modules.map do |mod|
    mod.build_manifest
  end.join("\n\n")
end