Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::StreamUI::ThreadedDownloadReporter#fetch
fetch(file_name, *args)
lib/rubygems/user_interaction.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/user_interaction.rb, line 559
def fetch(file_name, *args)
if @file_name.nil?
@file_name = file_name
locked_puts "Fetching #{@file_name}"
end
end
Tells the download reporter that the file_name is being fetched. The other arguments are ignored.