Class: Hackle::GreaterThanOrEqualToMatcher

Inherits:
Object
  • Object
show all
Includes:
OperatorMatcher
Defined in:
lib/hackle/internal/evaluation/match/operator/operator_matcher.rb

Instance Method Summary collapse

Instance Method Details

#boolean_matches(_value, _match_value) ⇒ Object



137
138
139
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 137

def boolean_matches(_value, _match_value)
  false
end

#number_matches(value, match_value) ⇒ Object



133
134
135
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 133

def number_matches(value, match_value)
  value >= match_value
end

#string_matches(value, match_value) ⇒ Object



129
130
131
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 129

def string_matches(value, match_value)
  value >= match_value
end

#version_matches(value, match_value) ⇒ Object



141
142
143
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 141

def version_matches(value, match_value)
  value >= match_value
end