Sha256: d2402a41344346f256feac0e124bd0682c454054e9ed6aab777531eccc719325

Contents?: true

Size: 468 Bytes

Versions: 6

Compression:

Stored size: 468 Bytes

Contents

module VagrantPlugins
  module Invade
    module Generator
      module MachinePart

        class VM

          attr_accessor :machine_name, :vm_data

          def initialize(machine_name, vm_data)
            @machine_name = machine_name
            @vm_data = vm_data
          end

          def generate
            vm = Builder::VM.new(@machine_name, @vm_data)
            vm.build

            vm.result
          end

        end

      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vagrant-invade-0.5.5 lib/vagrant-invade/generator/machine_part/vm.rb
vagrant-invade-0.5.4 lib/vagrant-invade/generator/machine_part/vm.rb
vagrant-invade-0.5.3 lib/vagrant-invade/generator/machine_part/vm.rb
vagrant-invade-0.5.2 lib/vagrant-invade/generator/machine_part/vm.rb
vagrant-invade-0.5.1 lib/vagrant-invade/generator/machine_part/vm.rb
vagrant-invade-0.5.0 lib/vagrant-invade/generator/machine_part/vm.rb