Module: Hackle::OperatorMatcher

Included in:
ContainsMatcher, EndsWithMatcher, GreaterThanMatcher, GreaterThanOrEqualToMatcher, InMatcher, LessThanMatcher, LessThanOrEqualToMatcher, StartsWithMatcher
Defined in:
lib/hackle/internal/evaluation/match/operator/operator_matcher.rb

Instance Method Summary collapse

Instance Method Details

#boolean_matches(value, match_value) ⇒ boolean

Parameters:

  • value (boolean)
  • match_value (boolean)

Returns:

  • (boolean)


18
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 18

def boolean_matches(value, match_value) end

#number_matches(value, match_value) ⇒ boolean

Parameters:

  • value (Numeric)
  • match_value (Numeric)

Returns:

  • (boolean)


13
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 13

def number_matches(value, match_value) end

#string_matches(value, match_value) ⇒ boolean

Parameters:

  • value (String)
  • match_value (String)

Returns:

  • (boolean)


8
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 8

def string_matches(value, match_value) end

#version_matches(value, match_value) ⇒ boolean

Parameters:

Returns:

  • (boolean)


23
# File 'lib/hackle/internal/evaluation/match/operator/operator_matcher.rb', line 23

def version_matches(value, match_value) end