Method: Gem::StreamUI#download_reporter
- Defined in:
- lib/rubygems/user_interaction.rb
#download_reporter(*args) ⇒ Object
Return a download reporter object chosen from the current verbosity
503 504 505 506 507 508 509 |
# File 'lib/rubygems/user_interaction.rb', line 503 def download_reporter(*args) if [nil, false].include?(Gem.configuration.verbose) || !@outs.tty? SilentDownloadReporter.new(@outs, *args) else ThreadedDownloadReporter.new(@outs, *args) end end |