Class: Expire::ReportExpired

Inherits:
ReportBase show all
Defined in:
lib/expire/report_expired.rb

Overview

Print the paths of expired backups

Instance Attribute Summary

Attributes inherited from ReportBase

#receiver

Instance Method Summary collapse

Methods inherited from ReportBase

#error, #initialize, #pastel

Methods inherited from ReportNull

#after_all, #after_purge, #before_all, #error, #on_keep

Constructor Details

This class inherits a constructor from Expire::ReportBase

Instance Method Details

#before_purge(backup) ⇒ Object



6
7
8
# File 'lib/expire/report_expired.rb', line 6

def before_purge(backup)
  receiver.puts backup.pathname.to_s
end