Class: Gem::StreamUI::SilentDownloadReporter

Inherits:
Object
  • Object
show all
Defined in:
lib/rubygems/user_interaction.rb

Overview

An absolutely silent download reporter.

Instance Method Summary collapse

Constructor Details

#initialize(out_stream, *args) ⇒ SilentDownloadReporter

The silent download reporter ignores all arguments



514
515
# File 'lib/rubygems/user_interaction.rb', line 514

def initialize(out_stream, *args)
end

Instance Method Details

#doneObject

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



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

def done
end

#fetch(filename, filesize) ⇒ Object

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



521
522
# File 'lib/rubygems/user_interaction.rb', line 521

def fetch(filename, filesize)
end

#update(current) ⇒ Object

Nothing can update the silent download reporter.



527
528
# File 'lib/rubygems/user_interaction.rb', line 527

def update(current)
end