Class: Mutant::Matcher::Null Private

Inherits:
Mutant::Matcher show all
Defined in:
lib/mutant/matcher/null.rb

Overview

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

A null matcher, that does not match any subjects

Instance Method Summary collapse

Methods inherited from Mutant::Matcher

expand

Instance Method Details

#call(_env) ⇒ Enumerable<Subject>

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.

Enumerate subjects

Parameters:

Returns:



14
15
16
# File 'lib/mutant/matcher/null.rb', line 14

def call(_env)
  EMPTY_ARRAY
end