Sha256: 0abf42610bcfd3ba17d25270c1e24cce7d7fc2fe177187111c23023c0bcf247a
Contents?: true
Size: 363 Bytes
Versions: 62
Compression:
Stored size: 363 Bytes
Contents
module SplitIoClient class EqualToSetMatcher < SetMatcher MATCHER_TYPE = 'EQUAL_TO_SET'.freeze attr_reader :attribute def initialize(attribute, remote_array) super(attribute, remote_array) end def match?(args) local_set(args[:attributes], @attribute) == @remote_set end def string_type? false end end end
Version data entries
62 entries across 62 versions & 1 rubygems