Class: Mutant::Reporter::Null

Inherits:
Mutant::Reporter show all
Defined in:
lib/mutant/reporter/null.rb

Overview

Null reporter

Instance Method Summary collapse

Instance Method Details

#progress(_object) ⇒ self

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Report progress on object

Parameters:

  • _object (Object)

Returns:

  • (self)


40
41
42
# File 'lib/mutant/reporter/null.rb', line 40

def progress(_object)
  self
end

#report(_object) ⇒ self

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Report object

Parameters:

  • _object (Object)

Returns:

  • (self)


28
29
30
# File 'lib/mutant/reporter/null.rb', line 28

def report(_object)
  self
end

#warn(_message) ⇒ self

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Write warning message

Parameters:

  • _message (String)

Returns:

  • (self)


16
17
18
# File 'lib/mutant/reporter/null.rb', line 16

def warn(_message)
  self
end