Class: Inferno::CLI::Execute::QuietOutputter
- Inherits:
-
Object
- Object
- Inferno::CLI::Execute::QuietOutputter
- Defined in:
- lib/inferno/apps/cli/execute/quiet_outputter.rb
Instance Method Summary collapse
- #print_around_run(_options) ⇒ Object
- #print_end_message(_options) ⇒ Object
- #print_error(options, exception) ⇒ Object
- #print_results(_options, _results) ⇒ Object
- #print_start_message(_options) ⇒ Object
Instance Method Details
#print_around_run(_options) ⇒ Object
8 9 10 |
# File 'lib/inferno/apps/cli/execute/quiet_outputter.rb', line 8 def print_around_run(, &) yield end |
#print_end_message(_options) ⇒ Object
14 |
# File 'lib/inferno/apps/cli/execute/quiet_outputter.rb', line 14 def (); end |
#print_error(options, exception) ⇒ Object
16 17 18 |
# File 'lib/inferno/apps/cli/execute/quiet_outputter.rb', line 16 def print_error(, exception) puts "Error: #{exception.full_message}" if [:verbose] end |
#print_results(_options, _results) ⇒ Object
12 |
# File 'lib/inferno/apps/cli/execute/quiet_outputter.rb', line 12 def print_results(, _results); end |
#print_start_message(_options) ⇒ Object
6 |
# File 'lib/inferno/apps/cli/execute/quiet_outputter.rb', line 6 def (); end |