Class: Gem::SilentUI
- Inherits:
-
StreamUI
- Object
- StreamUI
- Gem::SilentUI
- Defined in:
- lib/rubygems/user_interaction.rb
Overview
SilentUI is a UI choice that is absolutely silent.
Defined Under Namespace
Classes: NullIO
Instance Method Summary collapse
- #close ⇒ Object
-
#download_reporter(*args) ⇒ Object
:nodoc:.
-
#initialize ⇒ SilentUI
constructor
The SilentUI has no arguments as it does not use any stream.
-
#progress_reporter(*args) ⇒ Object
:nodoc:.
Constructor Details
#initialize ⇒ SilentUI
The SilentUI has no arguments as it does not use any stream.
614 615 616 617 |
# File 'lib/rubygems/user_interaction.rb', line 614 def initialize io = NullIO.new super io, io, io, false end |
Instance Method Details
#close ⇒ Object
619 620 |
# File 'lib/rubygems/user_interaction.rb', line 619 def close end |
#download_reporter(*args) ⇒ Object
:nodoc:
622 623 624 |
# File 'lib/rubygems/user_interaction.rb', line 622 def download_reporter(*args) # :nodoc: SilentDownloadReporter.new(@outs, *args) end |
#progress_reporter(*args) ⇒ Object
:nodoc:
626 627 628 |
# File 'lib/rubygems/user_interaction.rb', line 626 def progress_reporter(*args) # :nodoc: SilentProgressReporter.new(@outs, *args) end |