Class: Inferno::CLI::Execute::PlainOutputter
- Inherits:
-
ConsoleOutputter
- Object
- ConsoleOutputter
- Inferno::CLI::Execute::PlainOutputter
- Defined in:
- lib/inferno/apps/cli/execute/plain_outputter.rb
Constant Summary
Constants inherited from ConsoleOutputter
ConsoleOutputter::BAR, ConsoleOutputter::CHECKMARK
Instance Method Summary collapse
Methods inherited from ConsoleOutputter
#format_inputs, #format_messages, #format_outputs, #format_requests, #format_result, #format_session_data, #format_tag, #format_tag_suffix, #print_around_run, #print_end_message, #print_results, #print_start_message, #verbose_print, #verbose_print_json_results, #verbose_puts
Methods included from Serialize
Instance Method Details
#color ⇒ Object
12 13 14 |
# File 'lib/inferno/apps/cli/execute/plain_outputter.rb', line 12 def color @color ||= Pastel.new(enabled: false) end |
#print_error(_options, exception) ⇒ Object
8 9 10 |
# File 'lib/inferno/apps/cli/execute/plain_outputter.rb', line 8 def print_error(, exception) puts "Error: #{exception.(highlight: false)}" end |