Flowdock
method

update_display

Importance_0
Ruby latest stable (v1_9_3_392) - 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 513
    def update_display(show_progress = true, new_line = false)
      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.