Module: Codeowners::Cli::InteractiveOps
- Included in:
- InteractiveRunner, Wizards::NewFileWizard, Wizards::NewOwnerWizard, Wizards::UnrecognizedLineWizard, Wizards::UselessPatternWizard
- Defined in:
- lib/codeowners/cli/interactive_ops.rb
Overview
Provides convenience methods like :ask, :yes? without subclassing Thor
Instance Method Summary collapse
Instance Method Details
#ask(statement, *args) ⇒ Object
11 12 13 |
# File 'lib/codeowners/cli/interactive_ops.rb', line 11 def ask(statement, *args) thor.ask(statement, *args) end |
#yes?(statement, color = nil) ⇒ Boolean
7 8 9 |
# File 'lib/codeowners/cli/interactive_ops.rb', line 7 def yes?(statement, color = nil) thor.yes?(statement, color) end |