Sha256: b15a9d8af8f935437ccd80d8371f055fd1665bdd7dbb3a6ac6f5e83cdef1b4f3
Contents?: true
Size: 372 Bytes
Versions: 62
Compression:
Stored size: 372 Bytes
Contents
module SplitIoClient class ContainsAnyMatcher < SetMatcher MATCHER_TYPE = 'CONTAINS_ANY'.freeze attr_reader :attribute def initialize(attribute, remote_array) super(attribute, remote_array) end def match?(args) local_set(args[:attributes], @attribute).intersect? @remote_set end def string_type? false end end end
Version data entries
62 entries across 62 versions & 1 rubygems
Version | Path |
---|---|
splitclient-rb-4.3.1 | lib/splitclient-rb/engine/matchers/contains_any_matcher.rb |
splitclient-rb-4.3.0 | lib/splitclient-rb/engine/matchers/contains_any_matcher.rb |