Class: Gem::StreamUI::SilentProgressReporter
- Inherits:
 - 
      Object
      
        
- Object
 - Gem::StreamUI::SilentProgressReporter
 
 
- Defined in:
 - lib/rubygems/user_interaction.rb
 
Overview
An absolutely silent progress reporter.
Instance Attribute Summary collapse
- 
  
    
      #count  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The count of items is never updated for the silent progress reporter.
 
Instance Method Summary collapse
- 
  
    
      #done  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Does not print anything when complete as this object has taken a vow of silence.
 - 
  
    
      #initialize(out_stream, size, initial_message, terminal_message = nil)  ⇒ SilentProgressReporter 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
Creates a silent progress reporter that ignores all input arguments.
 - 
  
    
      #updated(message)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Does not print
messagewhen updated as this object has taken a vow of silence. 
Constructor Details
#initialize(out_stream, size, initial_message, terminal_message = nil) ⇒ SilentProgressReporter
Creates a silent progress reporter that ignores all input arguments.
      399 400  | 
    
      # File 'lib/rubygems/user_interaction.rb', line 399 def initialize(out_stream, size, , = nil) end  | 
  
Instance Attribute Details
#count ⇒ Object (readonly)
The count of items is never updated for the silent progress reporter.
      394 395 396  | 
    
      # File 'lib/rubygems/user_interaction.rb', line 394 def count @count end  | 
  
Instance Method Details
#done ⇒ Object
Does not print anything when complete as this object has taken a vow of silence.
      413 414  | 
    
      # File 'lib/rubygems/user_interaction.rb', line 413 def done end  | 
  
#updated(message) ⇒ Object
Does not print message when updated as this object has taken a vow of silence.
      406 407  | 
    
      # File 'lib/rubygems/user_interaction.rb', line 406 def updated() end  |