Class: MetricsSatellite::Summarizer
- Inherits:
-
Object
- Object
- MetricsSatellite::Summarizer
- Includes:
- Filer
- Defined in:
- lib/metrics_satellite/summarizers/summarizer.rb
Direct Known Subclasses
BrakemanSummarizer, FlaySummarizer, GuidelineSummarizer, HotspotsSummarizer, RailsBestPracticesSummarizer
Defined Under Namespace
Classes: ReportNotFoundError
Constant Summary
Constants included from Filer
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Summarizer
constructor
A new instance of Summarizer.
- #summarize ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Summarizer
Returns a new instance of Summarizer.
11 12 13 |
# File 'lib/metrics_satellite/summarizers/summarizer.rb', line 11 def initialize( = {}) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/metrics_satellite/summarizers/summarizer.rb', line 5 def @options end |
Class Method Details
.summarize(options = {}) ⇒ Object
7 8 9 |
# File 'lib/metrics_satellite/summarizers/summarizer.rb', line 7 def self.summarize( = {}) new().summarize end |
Instance Method Details
#summarize ⇒ Object
15 16 17 18 |
# File 'lib/metrics_satellite/summarizers/summarizer.rb', line 15 def summarize validate_report_existence create_merged_summaries end |