Sha256: e852a864a1b48fcfb1294c474ec0b73654ae622c9f93b65ecbc4f6be17b59ebc

Contents?: true

Size: 657 Bytes

Versions: 82

Compression:

Stored size: 657 Bytes

Contents

require "vagrant/util/stacked_proc_runner"

module VagrantPlugins
  module Kernel_V2
    # Represents a single sub-VM in a multi-VM environment.
    class VagrantConfigSubVM
      include Vagrant::Util::StackedProcRunner

      # Returns an array of the configuration procs in [version, proc]
      # format.
      #
      # @return [Array]
      attr_reader :config_procs

      attr_reader :options

      def initialize
        @config_procs = []
        @options      = {}
      end

      def initialize_copy(other)
        super

        @config_procs = other.config_procs.clone
        @options      = other.options.clone
      end
    end
  end
end

Version data entries

82 entries across 75 versions & 13 rubygems

Version Path
vagrant-actionio-0.0.9 vendor/bundle/bundler/gems/vagrant-c74251a1d9c0/plugins/kernel_v2/config/vm_subvm.rb
vagrant-lxc-0.0.1 vendor/vagrant/plugins/kernel_v2/config/vm_subvm.rb