method

ask_yes_no

Importance_1
v1_9_3_125 - Show latest stable - 0 notes - Class: StreamUI
ask_yes_no(question, default=nil) public

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.

Show source
Register or log in to add new notes.