Class: Hackle::InMatcher

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



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