method

locations

ruby latest stable - Class: Bundler::Settings

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

locations(key)
public

No documentation available.

# File lib/bundler/settings.rb, line 187
    def locations(key)
      key = key_for(key)
      locations = {}
      locations[:temporary] = @temporary[key] if @temporary.key?(key)
      locations[:local]  = @local_config[key] if @local_config.key?(key)
      locations[:env]    = ENV[key] if ENV[key]
      locations[:global] = @global_config[key] if @global_config.key?(key)
      locations[:default] = DEFAULT_CONFIG[key] if DEFAULT_CONFIG.key?(key)
      locations
    end