method

fetch

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: VerboseDownloadReporter
fetch(file_name, total_bytes) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.