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
The Console UI has no arguments as it defaults to reading input from stdin, output to stdout and warnings or errors to stderr.
Methods inherited from StreamUI
#_gets_noecho, #alert, #alert_error, #alert_warning, #ask, #ask_for_password, #ask_yes_no, #backtrace, #choose_from_list, #close, #debug, #download_reporter, #progress_reporter, #require_io_console, #say, #terminate_interaction, #tty?
Methods included from Deprecate
deprecate, skip, skip=, skip_during
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.
628 629 630 |
# File 'lib/rubygems/user_interaction.rb', line 628 def initialize super STDIN, STDOUT, STDERR, true end |