Sha256: 1dadf8628894cd392ab6540858e6a2d3ebb6d7f452cc33bc72182682f9099685

Contents?: true

Size: 687 Bytes

Versions: 1

Compression:

Stored size: 687 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

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/bundler/gems/vagrant-c84e05fd063f/plugins/kernel_v2/config/vm_subvm.rb