Class: Gem::StreamUI::SilentProgressReporter

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

Overview

An absolutely silent progress reporter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(out_stream, size, initial_message, terminal_message = nil) ⇒ SilentProgressReporter

Creates a silent progress reporter that ignores all input arguments.



425
426
# File 'lib/rubygems/user_interaction.rb', line 425

def initialize(out_stream, size, initial_message, terminal_message = nil)
end

Instance Attribute Details

#countObject (readonly)

The count of items is never updated for the silent progress reporter.



420
421
422
# File 'lib/rubygems/user_interaction.rb', line 420

def count
  @count
end

Instance Method Details

#doneObject

Does not print anything when complete as this object has taken a vow of silence.



439
440
# File 'lib/rubygems/user_interaction.rb', line 439

def done
end

#updated(message) ⇒ Object

Does not print message when updated as this object has taken a vow of silence.



432
433
# File 'lib/rubygems/user_interaction.rb', line 432

def updated(message)
end