Module: Doing::PromptYN
- Included in:
- Prompt
- Defined in:
- lib/doing/prompt/yn.rb
Overview
Request Yes/No answers on command line
Instance Method Summary collapse
-
#yn(question, default_response: false) ⇒ Boolean
Ask a yes or no question in the terminal.
Instance Method Details
#yn(question, default_response: false) ⇒ Boolean
Ask a yes or no question in the terminal