Class: Cease::Report
- Inherits:
-
Object
- Object
- Cease::Report
- Defined in:
- lib/cease/report.rb
Constant Summary collapse
- SUCCESS_EXIT_CODE =
0
- ERROR_EXIT_CODE =
1
Instance Attribute Summary collapse
-
#total_eviction_count ⇒ Object
Returns the value of attribute total_eviction_count.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(sources:) ⇒ Report
constructor
A new instance of Report.
Constructor Details
#initialize(sources:) ⇒ Report
Returns a new instance of Report.
8 9 10 11 12 |
# File 'lib/cease/report.rb', line 8 def initialize(sources:) @sources = sources @examiners = [] @total_eviction_count = 0 end |
Instance Attribute Details
#total_eviction_count ⇒ Object
Returns the value of attribute total_eviction_count.
27 28 29 |
# File 'lib/cease/report.rb', line 27 def total_eviction_count @total_eviction_count end |