Class: Cease::Summary
- Inherits:
-
Object
- Object
- Cease::Summary
- Extended by:
- Forwardable
- Defined in:
- lib/cease/summary.rb
Instance Method Summary collapse
-
#initialize(examiner:) ⇒ Summary
constructor
A new instance of Summary.
- #summarize ⇒ Object
Constructor Details
#initialize(examiner:) ⇒ Summary
Returns a new instance of Summary.
14 15 16 |
# File 'lib/cease/summary.rb', line 14 def initialize(examiner:) @examiner = examiner end |
Instance Method Details
#summarize ⇒ Object
18 19 20 21 22 23 |
# File 'lib/cease/summary.rb', line 18 def summarize return if overdue_evictions.none? puts Rainbow("(#{source_name})").underline.bright puts "\n#{overdue_evictions.map(&:description).join}" end |