Class: Hackle::LessThanMatcher
- Inherits:
-
Object
- Object
- Hackle::LessThanMatcher
- 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
157 158 159 |
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 157 def boolean_matches(_value, _match_value) false end |
#number_matches(value, match_value) ⇒ Object
153 154 155 |
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 153 def number_matches(value, match_value) value < match_value end |
#string_matches(value, match_value) ⇒ Object
149 150 151 |
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 149 def string_matches(value, match_value) value < match_value end |
#version_matches(value, match_value) ⇒ Object
161 162 163 |
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 161 def version_matches(value, match_value) value < match_value end |