Class: Expire::ReportNull

Inherits:
Object
  • Object
show all
Defined in:
lib/expire/report_null.rb

Overview

Ignores all messages expect #error and report nothing. When error is received the message is printed to STDOUT.

Direct Known Subclasses

ReportBase

Instance Method Summary collapse

Instance Method Details

#after_all(_) ⇒ Object



14
15
# File 'lib/expire/report_null.rb', line 14

def after_all(_)
end

#after_purge(_) ⇒ Object



23
24
# File 'lib/expire/report_null.rb', line 23

def after_purge(_)
end

#before_all(_) ⇒ Object



11
12
# File 'lib/expire/report_null.rb', line 11

def before_all(_)
end

#before_purge(_) ⇒ Object



20
21
# File 'lib/expire/report_null.rb', line 20

def before_purge(_)
end

#error(message) ⇒ Object



7
8
9
# File 'lib/expire/report_null.rb', line 7

def error(message)
  puts message
end

#on_keep(_) ⇒ Object



17
18
# File 'lib/expire/report_null.rb', line 17

def on_keep(_)
end