Class: Gem::StreamUI::SilentProgressReporter
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/rubygems/user_interaction.rb |
Overview
An absolutely silent progress reporter.
Class Method Summary
-
.new(out_stream, size, initial_message, terminal_message = nil) ⇒ SilentProgressReporter
constructor
Creates a silent progress reporter that ignores all input arguments.
Instance Attribute Summary
-
#count
readonly
The count of items is never updated for the silent progress reporter.
Instance Method Summary
-
#done
Does not print anything when complete as this object has taken a vow of silence.
-
#updated(message)
Does not print
message
when updated as this object has taken a vow of silence.
Constructor Details
.new(out_stream, size, initial_message, terminal_message = nil) ⇒ SilentProgressReporter
Creates a silent progress reporter that ignores all input arguments.
# File 'lib/rubygems/user_interaction.rb', line 428
def initialize(out_stream, size, , = nil) end
Instance Attribute Details
#count (readonly)
The count of items is never updated for the silent progress reporter.
# File 'lib/rubygems/user_interaction.rb', line 423
attr_reader :count
Instance Method Details
#done
Does not print anything when complete as this object has taken a vow of silence.
# File 'lib/rubygems/user_interaction.rb', line 442
def done end
#updated(message)
Does not print message
when updated as this object has taken a vow of silence.
# File 'lib/rubygems/user_interaction.rb', line 435
def updated( ) end