Class: Hackle::InMatcher
- Inherits:
-
Object
- Object
- Hackle::InMatcher
- Includes:
- OperatorMatcher
- Defined in:
- lib/hackle/internal/evaluation/match/operator/operator_matcher.rb
Instance Method Summary collapse
- #boolean_matches(value, match_value) ⇒ Object
- #number_matches(value, match_value) ⇒ Object
- #string_matches(value, match_value) ⇒ Object
- #version_matches(value, match_value) ⇒ Object
Instance Method Details
#boolean_matches(value, match_value) ⇒ Object
37 38 39 |
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 37 def boolean_matches(value, match_value) value == match_value end |
#number_matches(value, match_value) ⇒ Object
33 34 35 |
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 33 def number_matches(value, match_value) value == match_value end |
#string_matches(value, match_value) ⇒ Object
29 30 31 |
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 29 def string_matches(value, match_value) value == match_value end |
#version_matches(value, match_value) ⇒ Object
41 42 43 |
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 41 def version_matches(value, match_value) value == match_value end |