Flowdock
method

ask_yes_no

Importance_1
Ruby latest stable (v1_9_3_392) - 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.