method

update_display

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: VerboseDownloadReporter
update_display(show_progress = true, new_line = false) private

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 647
    def update_display(show_progress = true, new_line = false) # :nodoc:
      return unless @out.tty?

      if show_progress then
        @out.print "\rFetching: %s (%3d%s)" % [@file_name, @progress, @units]
      else
        @out.print "Fetching: %s" % @file_name
      end
      @out.puts if new_line
    end
Register or log in to add new notes.