Class: Gem::ConsoleUI

Inherits:
StreamUI show all
Defined in:
lib/rubygems/user_interaction.rb

Overview

Subclass of StreamUI that instantiates the user interaction using STDIN, STDOUT, and STDERR.

Instance Attribute Summary

Attributes inherited from StreamUI

#errs, #ins, #outs

Instance Method Summary collapse

Methods inherited from StreamUI

#alert, #alert_error, #alert_warning, #ask, #ask_for_password, #ask_for_password_on_unix, #ask_for_password_on_windows, #ask_yes_no, #backtrace, #choose_from_list, #debug, #download_reporter, #progress_reporter, #say, #terminate_interaction, #tty?

Constructor Details

#initializeConsoleUI

Returns a new instance of ConsoleUI.



541
542
543
# File 'lib/rubygems/user_interaction.rb', line 541

def initialize
  super STDIN, STDOUT, STDERR, true
end