Module: Vagrant::Butcher::Helpers::Action

Includes:
Config
Included in:
Action::Cleanup, Action::CopyGuestKey
Defined in:
lib/vagrant-butcher/helpers/action.rb

Instance Method Summary collapse

Methods included from Config

#butcher_config, #chef_client?, #chef_provisioner, #client_name, #victim, #vm_config

Instance Method Details

#machine(env) ⇒ Object



11
12
13
# File 'lib/vagrant-butcher/helpers/action.rb', line 11

def machine(env)
  @machine ||= env[:machine]
end

#root_path(env) ⇒ Object



15
16
17
# File 'lib/vagrant-butcher/helpers/action.rb', line 15

def root_path(env)
  @root_path ||= env[:root_path]
end

#ui(env) ⇒ Object



7
8
9
# File 'lib/vagrant-butcher/helpers/action.rb', line 7

def ui(env)
  @ui ||= env[:butcher].ui
end