123456789_123456789_123456789_123456789_123456789_

Class: Gem::StreamUI::SilentDownloadReporter

Relationships & Source Files
Inherits: Object
Defined in: lib/rubygems/user_interaction.rb

Overview

An absolutely silent download reporter.

Class Method Summary

Instance Method Summary

  • #done

    The silent download reporter won’t tell you when the download is done.

  • #fetch(filename, filesize)

    The silent download reporter does not display filename or care about filesize because it is silent.

  • #update(current)

    Nothing can update the silent download reporter.

Constructor Details

.new(out_stream, *args) ⇒ SilentDownloadReporter

The silent download reporter ignores all arguments

[ GitHub ]

  
# File 'lib/rubygems/user_interaction.rb', line 535

def initialize(out_stream, *args)
end

Instance Method Details

#done

The silent download reporter won’t tell you when the download is done. Because it is silent.

[ GitHub ]

  
# File 'lib/rubygems/user_interaction.rb', line 555

def done
end

#fetch(filename, filesize)

The silent download reporter does not display filename or care about filesize because it is silent.

[ GitHub ]

  
# File 'lib/rubygems/user_interaction.rb', line 542

def fetch(filename, filesize)
end

#update(current)

Nothing can update the silent download reporter.

[ GitHub ]

  
# File 'lib/rubygems/user_interaction.rb', line 548

def update(current)
end