Class: Gem::ConsoleUI
- Inherits:
-
StreamUI
- Object
- StreamUI
- Gem::ConsoleUI
- Defined in:
- lib/rubygems/user_interaction.rb
Overview
Subclass of StreamUI that instantiates the user interaction using $stdin, $stdout, and $stderr.
Instance Method Summary collapse
-
#initialize ⇒ ConsoleUI
constructor
The Console UI has no arguments as it defaults to reading input from stdin, output to stdout and warnings or errors to stderr.
Constructor Details
#initialize ⇒ ConsoleUI
The Console UI has no arguments as it defaults to reading input from stdin, output to stdout and warnings or errors to stderr.
602 603 604 |
# File 'lib/rubygems/user_interaction.rb', line 602 def initialize super $stdin, $stdout, $stderr, true end |