Class: Mutant::Predicate::Blacklist
- Inherits:
-
Mutant::Predicate
- Object
- Mutant::Predicate
- Mutant::Predicate::Blacklist
- Includes:
- Adamantium::Flat
- Defined in:
- lib/mutant/predicate/blacklist.rb
Overview
Blacklist predicate
Instance Method Summary collapse
-
#match?(object) ⇒ true, false
private
Test for match.
Methods inherited from Mutant::Predicate
Instance Method Details
#match?(object) ⇒ 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
21 22 23 |
# File 'lib/mutant/predicate/blacklist.rb', line 21 def match?(object) blacklist.none? { |predicate| predicate.match?(object) } end |