Class: Gem::ConsoleUI
- 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
Instance Method Summary collapse
-
#initialize ⇒ ConsoleUI
constructor
A new instance of ConsoleUI.
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
#initialize ⇒ ConsoleUI
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 |