Class: Vanguard::Matcher::Binary::AND
- Inherits:
-
Vanguard::Matcher::Binary
- Object
- Vanguard::Matcher
- Vanguard::Matcher::Binary
- Vanguard::Matcher::Binary::AND
- Defined in:
- lib/vanguard/matcher/binary/and.rb
Overview
Boolean and connector
Instance Attribute Summary
Attributes inherited from Vanguard::Matcher::Binary
Instance Method Summary collapse
-
#matches?(value) ⇒ true, false
private
Test if value matches left and right.
Instance Method Details
#matches?(value) ⇒ 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 if value matches left and right
14 15 16 |
# File 'lib/vanguard/matcher/binary/and.rb', line 14 def matches?(value) left_matches?(value) && right_matches?(value) end |