Class: Gem::ConsoleUI

Inherits:
StreamUI
  • Object
show all
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

Constructor Details

#initializeConsoleUI

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