method

alert_error

ruby latest stable - Class: Gem::UserInteraction
alert_error(statement, question = nil)
public

Displays an error statement to the error output location. Asks a question if given.