method

ask

v1_9_3_392 - Show latest stable - Class: Gem::StreamUI
ask(question)
public

Ask a question. Returns an answer if connected to a tty, nil otherwise.