Class: Recheck::Reporter::Silent

Inherits:
Base
  • Object
show all
Defined in:
lib/recheck/reporters.rb

Overview

Json

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#around_check, #around_checker, #around_query, #around_run, #fetch_record_id, #halt, inherited

Constructor Details

#initialize(arg:) ⇒ Silent

Returns a new instance of Silent.

Raises:

  • (ArgumentError)


272
273
274
# File 'lib/recheck/reporters.rb', line 272

def initialize(arg:)
  raise ArgumentError, "does not take options" unless arg.nil?
end

Class Method Details

.helpObject



268
269
270
# File 'lib/recheck/reporters.rb', line 268

def self.help
  "Prints nothing. Useful for checks that can automatically fix issues."
end