Class: VagrantPlugins::Skytap::Action::SetUpVm

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-skytap/action/set_up_vm.rb

Instance Method Summary collapse

Constructor Details

#initialize(app, env) ⇒ SetUpVm

Returns a new instance of SetUpVm.



9
10
11
12
# File 'lib/vagrant-skytap/action/set_up_vm.rb', line 9

def initialize(app, env)
  @app = app
  @logger = Log4r::Logger.new("vagrant_skytap::action::set_up_vm")
end

Instance Method Details

#call(env) ⇒ Object



14
15
16
17
# File 'lib/vagrant-skytap/action/set_up_vm.rb', line 14

def call(env)
  SetupHelper.run!(env, env[:environment])
  @app.call(env)
end