Class: MetzScan::Commands::Scan::ProjectAnalyzerSummaryAggregateFormatter
- Inherits:
-
Object
- Object
- MetzScan::Commands::Scan::ProjectAnalyzerSummaryAggregateFormatter
- Defined in:
- lib/metz_scan/commands/scan/project_analyzer_summary_aggregate_formatter.rb
Instance Method Summary collapse
-
#initialize(summary) ⇒ ProjectAnalyzerSummaryAggregateFormatter
constructor
A new instance of ProjectAnalyzerSummaryAggregateFormatter.
- #lines ⇒ Object
Constructor Details
#initialize(summary) ⇒ ProjectAnalyzerSummaryAggregateFormatter
Returns a new instance of ProjectAnalyzerSummaryAggregateFormatter.
7 8 9 |
# File 'lib/metz_scan/commands/scan/project_analyzer_summary_aggregate_formatter.rb', line 7 def initialize(summary) @summary = summary end |
Instance Method Details
#lines ⇒ Object
11 12 13 14 15 16 |
# File 'lib/metz_scan/commands/scan/project_analyzer_summary_aggregate_formatter.rb', line 11 def lines [counts_line("Analyzer counts", analyzer_counts), counts_line("Confidence counts", breakdown_counts("confidence")), counts_line("Severity counts", breakdown_counts("triage_severity")), counts_line("Category counts", category_counts)].compact end |