Class: Mutant::Matcher::Null
- Inherits:
-
Mutant::Matcher
- Object
- Mutant::Matcher
- Mutant::Matcher::Null
- Defined in:
- lib/mutant/matcher/null.rb
Overview
A null matcher, that does not match any subjects
Instance Method Summary collapse
-
#each ⇒ Enumerator<Subject] if no block given, self
private
Enumerate subjects.
Methods inherited from Mutant::Matcher
Instance Method Details
#each ⇒ Enumerator<Subject] if no block given, 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.
Enumerate subjects
16 17 18 19 |
# File 'lib/mutant/matcher/null.rb', line 16 def each return to_enum unless block_given? self end |