Sha256: c4dff527e382ff8b162bfa91830594388565f3a3741a7dd1e17aa282799f8a84

Contents?: true

Size: 408 Bytes

Versions: 65

Compression:

Stored size: 408 Bytes

Contents

require 'vagrant'

module PEBuild
  module ConfigDefault

    # @param [Symbol] iv The instance variable to set the default value
    # @param [Object] default The default value
    def set_default(iv, default)
      iv_val = instance_variable_get(iv)
      if iv_val == Vagrant::Plugin::V2::Config::UNSET_VALUE
        instance_variable_set(iv, default)
      end
    end
    private :set_default
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
vagrant-pe_build-0.11.0 lib/pe_build/config_default.rb
vagrant-pe_build-0.10.4 lib/pe_build/config_default.rb
vagrant-pe_build-0.10.3 lib/pe_build/config_default.rb
vagrant-pe_build-0.10.2 lib/pe_build/config_default.rb
vagrant-pe_build-0.10.1 lib/pe_build/config_default.rb
vagrant-pe_build-0.10.0 lib/pe_build/config_default.rb
vagrant-pe_build-0.9.7 lib/pe_build/config_default.rb
vagrant-pe_build-0.9.6 lib/pe_build/config_default.rb
vagrant-pe_build-0.9.5 lib/pe_build/config_default.rb
vagrant-pe_build-0.9.4 lib/pe_build/config_default.rb
vagrant-pe_build-0.9.3 lib/pe_build/config_default.rb
vagrant-pe_build-0.9.2 lib/pe_build/config_default.rb
vagrant-pe_build-0.9.1 lib/pe_build/config_default.rb
vagrant-pe_build-0.9.0 lib/pe_build/config_default.rb
vagrant-pe_build-0.8.8 lib/pe_build/config_default.rb
vagrant-pe_build-0.8.7 lib/pe_build/config_default.rb
vagrant-pe_build-0.8.6 lib/pe_build/config_default.rb
vagrant-pe_build-0.8.5 lib/pe_build/config_default.rb
vagrant-pe_build-0.8.4 lib/pe_build/config_default.rb
vagrant-pe_build-0.8.3 lib/pe_build/config_default.rb