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 397

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 392

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 411

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 404

def updated(message)
end