Sha256: 26e248996b1dcb12b8bc4476f5945dd74583e73d17ad71f03a304f390972dc1c
Contents?: true
Size: 419 Bytes
Versions: 4
Compression:
Stored size: 419 Bytes
Contents
module SplitIoClient class PartOfSetMatcher < SetMatcher def self.matcher_type 'PART_OF_SET'.freeze end def initialize(attribute, remote_array) super(attribute, remote_array) end def match?(_matching_key, _bucketing_key, _evaluator, data) @local_set = local_set(data, @attribute) return false if @local_set.empty? @local_set.subset? @remote_set end end end
Version data entries
4 entries across 4 versions & 1 rubygems