Class: Mutant::Predicate
- Inherits:
-
Object
- Object
- Mutant::Predicate
- Extended by:
- DescendantsTracker
- Includes:
- AbstractType, Adamantium::Flat
- Defined in:
- lib/mutant/predicate.rb,
lib/mutant/predicate/matcher.rb,
lib/mutant/predicate/attribute.rb,
lib/mutant/predicate/blacklist.rb,
lib/mutant/predicate/whitelist.rb
Overview
Abstract base class for predicates used to filter subjects / mutations
Defined Under Namespace
Classes: Attribute, Blacklist, Matcher, Whitelist
Class Method Summary collapse
-
.handle(_notation) ⇒ nil
private
Return predicate for handle.
Instance Method Summary collapse
-
#match? ⇒ true, false
private
Check for match.
Class Method Details
.handle(_notation) ⇒ nil
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.
Return predicate for handle
31 32 33 |
# File 'lib/mutant/predicate.rb', line 31 def self.handle(_notation) nil end |
Instance Method Details
#match? ⇒ 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.
Check for match
21 |
# File 'lib/mutant/predicate.rb', line 21 abstract_method :match? |