Class: Hone::Formatters::TSV
Constant Summary collapse
- HEADERS =
%w[priority cpu_percent alloc_percent file line pattern_id message method_name].freeze
- COLUMN_SEPARATOR =
"\t"
Constants included from Filterable
Instance Method Summary collapse
Methods inherited from Base
Methods included from Filterable
Constructor Details
This class inherits a constructor from Hone::Formatters::Base
Instance Method Details
#format ⇒ Object
9 10 11 12 13 |
# File 'lib/hone/formatters/tsv.rb', line 9 def format lines = [header_row] lines.concat(filtered_findings.map { |finding| format_row(finding) }) lines.join("\n") end |