method

ask

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

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