Class Gem::StreamUI
In: lib/rubygems/user_interaction.rb
Parent: Object

StreamUI implements a simple stream based user interface.

Methods

Classes and Modules

Class Gem::StreamUI::SilentProgressReporter
Class Gem::StreamUI::SimpleProgressReporter
Class Gem::StreamUI::VerboseProgressReporter

Public Class methods

Public Instance methods

Display an informational alert.

Display an error message in a location expected to get error messages.

Display a warning in a location expected to get error messages.

Ask a question. Returns an answer.

Ask a question. Returns a true for yes, false for no.

Choose from a list of options. question is a prompt displayed above the list. list is a list of option strings. Returns the pair [option_name, option_index].

Return a progress reporter object

Display a statement.

Terminate the appliation normally, running any exit handlers that might have been defined.

Terminate the application immediately without running any exit handlers.

[Validate]