method
fetch
v1_9_3_392 -
Show latest stable
- Class:
Gem::StreamUI::VerboseDownloadReporter
fetch(file_name, total_bytes)public
No documentation available.
# File lib/rubygems/user_interaction.rb, line 485
def fetch(file_name, total_bytes)
@file_name = file_name
@total_bytes = total_bytes.to_i
@units = @total_bytes.zero? ? 'B' : '%'
update_display(false)
end