Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::StreamUI#download_reporter
download_reporter(*args)
lib/rubygems/user_interaction.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/user_interaction.rb, line 499
def download_reporter(*args)
if [nil, false].include?(Gem.configuration.verbose) || !@outs.tty?
SilentDownloadReporter.new(@outs, *args)
else
ThreadedDownloadReporter.new(@outs, *args)
end
end
Return a download reporter object chosen from the current verbosity
See also
#close
#_gets_noecho
#choose_from_list
#progress_reporter
also in
4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0