lib/vagrant-orchestrate/config.rb
# It was a little hard to dig up, but this method gets called on the more general
# config object, with the more specific config as the argument.
# https://github.com/mitchellh/vagrant/blob/master/lib/vagrant/config/v2/loader.rb
It was a little hard to dig up, but this method gets called on the more general
config object, with the more specific config as the argument.
It was a little hard to dig up but this method gets called on the more general config object with the more specific config as the argument .
def merge(new_config)
        super.tap do |result|
          if new_config.credentials.unset?
            result.credentials = @credentials
          elsif @credentials.unset?
            result.credentials = new_config.credentials
          else
            result.credentials = @credentials.merge(new_config.credentials)
          end
        end
      end
def merge ( new_config ) super . tap do | result | if new_config . credentials . unset? result . credentials = @credentials elsif @credentials . unset? result . credentials = new_config . credentials else result . credentials = @credentials . merge ( new_config . credentials ) end end end
It was a little hard to dig up, but this method gets called on the more general
config object, with the more specific config as the argument.
It was a little hard to dig up but this method gets called on the more general config object with the more specific config as the argument .
new_config