123456789_123456789_123456789_123456789_123456789_

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

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.

[ GitHub ]

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

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

Instance Attribute Details

#count (readonly)

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

[ GitHub ]

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

attr_reader :count

Instance Method Details

#done

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

[ GitHub ]

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

def done
end

#updated(message)

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

[ GitHub ]

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

def updated(message)
end