Class: Mutant::Mutation::Filter::Regexp
- Inherits:
-
Mutant::Mutation::Filter
- Object
- Mutant::Mutation::Filter
- Mutant::Mutation::Filter::Regexp
- Defined in:
- lib/mutant/mutation/filter/regexp.rb
Overview
Mutaiton filter filtering in regexp match on mutation identification
Instance Method Summary collapse
-
#match?(mutation) ⇒ true, false
private
Test for match.
Methods inherited from Mutant::Mutation::Filter
Instance Method Details
#match?(mutation) ⇒ true, false
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.
Test for match
19 20 21 |
# File 'lib/mutant/mutation/filter/regexp.rb', line 19 def match?(mutation) !!@regexp.match =~ mutation.identification end |