Module: Cuken::Api::Vagrant

Includes:
Common
Defined in:
lib/cuken/api/vagrant.rb,
lib/cuken/api/vagrant/v_m.rb,
lib/cuken/api/vagrant/common.rb

Defined Under Namespace

Modules: Common, VM Classes: VVM

Instance Method Summary collapse

Methods included from Common

#check_vagrant_file_presence, #check_vm_active, #check_vm_state, #establish_vm_interactive_ssh, #load_vagrant_file, #run_vm_manager_command

Instance Method Details

#switch_vagrant_environmentObject



37
38
39
# File 'lib/cuken/api/vagrant.rb', line 37

def switch_vagrant_environment
  @vagrant = nil
end

#vagrant(box_name = nil) ⇒ Object



33
34
35
# File 'lib/cuken/api/vagrant.rb', line 33

def vagrant(box_name = nil)
  @vagrant ||= VVM.new(box_name)
end