Method: Lab::Controllers::VmController#initialize
- Defined in:
- lib/lab/vm_controller.rb
#initialize(labdef = nil) ⇒ VmController
include Lab::Controllers::QemuController include Lab::Controllers::QemudoController
41 42 43 44 45 46 47 48 |
# File 'lib/lab/vm_controller.rb', line 41 def initialize (labdef=nil) # Start with an empty array of vm objects @vms = [] # labdef is a just a big array of hashes load_vms(labdef) if labdef end |