progress_reporter(*args) Instance Public methods Return a progress reporter object chosen from the current verbosity.
download_reporter(*args) Instance Public methods Return a download reporter object chosen from the current verbosity
debug(statement) Instance Public methods Display a debug message on the same location as error messages.
choose_from_list(question, list) Instance Public methods 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].
backtrace(exception) Instance Public methods Prints a formatted backtrace to the errors stream if backtraces are enabled.
ask_yes_no(question, default=nil) Instance Public methods Ask a question. Returns a true for yes, false for no. If not connected to a tty, raises an exception if default is nil, otherwise returns default.
ask_for_password_on_windows() Instance Public methods Asks for a password that works on windows. Ripped from the Heroku gem.
ask_for_password_on_unix() Instance Public methods Asks for a password that works on unix
ask_for_password(question) Instance Public methods Ask for a password. Does not echo response to terminal.
ask(question) Instance Public methods Ask a question. Returns an answer if connected to a tty, nil otherwise.
Page 1976 of 2275