Class: Expire::ReportKept

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

Overview

Print the backups that are kept

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, #before_purge, #error

Constructor Details

This class inherits a constructor from Expire::ReportBase

Instance Method Details

#on_keep(backup) ⇒ Object



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

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