Method: Clin::Shell#yes?
- Defined in:
- lib/clin/shell.rb
#yes?(statement, options = {}) ⇒ Boolean
Yes or no question defaulted to yes
89 90 91 92 |
# File 'lib/clin/shell.rb', line 89 def yes?(statement, = {}) [:default] = :yes yes_or_no(statement, **) end |