instance method
Gem::ConfigFile#each
each() { |:update_sources, update_sources| ... }
lib/rubygems/config_file.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/config_file.rb, line 431
def each(&block)
hash = @hash.dup
hash.delete :update_sources
hash.delete :verbose
hash.delete :backtrace
hash.delete :bulk_threshold
yield :update_sources, @update_sources
yield :verbose, @verbose
yield :backtrace, @backtrace
yield :bulk_threshold, @bulk_threshold
yield "config_file_name", @config_file_name if @config_file_name
hash.each(&block)
end
Delegates to @hash
See also
#credentials_path
#handle_arguments
#config_file_name
#last_update_check
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0