Module: VagrantPlugins::Dotvm::Injector::Project

Extended by:
AbstractInjector
Defined in:
lib/vagrant-dotvm/injector/project.rb

Overview

Injects DotVm project configuration into Vagrant

Class Method Summary collapse

Methods included from AbstractInjector

generate_hash, rewrite_hash, rewrite_options

Class Method Details

.inject(project, vc) ⇒ Object



10
11
12
13
14
# File 'lib/vagrant-dotvm/injector/project.rb', line 10

def inject(project, vc)
  project.machines.to_a.each do |machine_cfg|
    Machine.inject machine_cfg: machine_cfg, vc: vc
  end
end