class SplitIoClient::AllKeysMatcher


class to implement the all keys matcher

def equals?(obj)

Returns:
  • (boolean) - true if obj equals the matcher

Parameters:
  • obj (object) -- object to be evaluated
def equals?(obj)
  if obj.instance_of?(AllKeysMatcher)
    true
  else
    super(obj)
  end
end

def match?(_args)

Returns:
  • (boolean) - true for all instances
def match?(_args)
  @logger.log_if_debug('[AllKeysMatcher] is always -> true')
  true
end

def to_s

Returns:
  • (string) - string value of this matcher
def to_s
  'in segment all'
end