instance method
Gem::ConfigFile#load_api_keys
load_api_keys
lib/rubygems/config_file.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/config_file.rb, line 302
def load_api_keys
check_credentials_permissions
@api_keys = if File.exist? credentials_path
load_file(credentials_path)
else
@hash
end
if @api_keys.key? :rubygems_api_key
@rubygems_api_key = @api_keys[:rubygems_api_key]
@api_keys[:rubygems] = @api_keys.delete :rubygems_api_key unless
@api_keys.key? :rubygems
end
end
No documentation available
See also
#last_update_check=
#load_file
#last_update_check
#really_verbose
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0