Class: Cease::Summary

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/cease/summary.rb

Instance Method Summary collapse

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

#summarizeObject



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