Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::StreamUI#progress_reporter
progress_reporter(*args)
lib/rubygems/user_interaction.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/user_interaction.rb, line 372
def progress_reporter(*args)
case Gem.configuration.verbose
when nil, false
SilentProgressReporter.new(@outs, *args)
when true
SimpleProgressReporter.new(@outs, *args)
else
VerboseProgressReporter.new(@outs, *args)
end
end
Return a progress reporter object chosen from the current verbosity.
See also
#_gets_noecho
#require_io_console
#download_reporter
#say
also in
4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0