Class: Pain::Cli
- Inherits:
-
Object
- Object
- Pain::Cli
- Defined in:
- lib/pain/cli.rb
Instance Method Summary collapse
-
#initialize ⇒ Cli
constructor
A new instance of Cli.
- #run! ⇒ Object
Constructor Details
Instance Method Details
#run! ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/pain/cli.rb', line 15 def run! @option_parser.parse! %i[bug_type likelihood impact].each { |input| fill_question(input) } puts print_report_for end |