Class: SimpleCov::Formatter::LinterFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/simplecov_linter_formatter.rb

Instance Method Summary collapse

Instance Method Details

#format(simplecov_result) ⇒ Object



93
94
95
96
97
98
99
# File 'lib/simplecov_linter_formatter.rb', line 93

def format(simplecov_result)
  text_lines = get_text_lines(simplecov_result)
  show_coverage_summary(text_lines)
  hash_result = format_text_lines(simplecov_result.command_name, text_lines)
  export_to_json(hash_result)
  nil
end