Sha256: 217a1c2afdb5730dd9e917933105410fec1e5c356f9a51292adcd23d3af6a6ce
Contents?: true
Size: 392 Bytes
Versions: 62
Compression:
Stored size: 392 Bytes
Contents
# frozen_string_literal: true module SplitIoClient class EqualToSetMatcher < SetMatcher MATCHER_TYPE = 'EQUAL_TO_SET' attr_reader :attribute def match?(args) set = local_set(args[:attributes], @attribute) matches = set == @remote_set @logger.log_if_debug("[EqualsToSetMatcher] #{set} equals to #{@remote_set} -> #{matches}") matches end end end
Version data entries
62 entries across 62 versions & 1 rubygems