Sha256: 474b1eeecbf7593cfbc0ea73424b8a47969a9a914ddc51a50d976b2e570b7fec
Contents?: true
Size: 597 Bytes
Versions: 288
Compression:
Stored size: 597 Bytes
Contents
# frozen_string_literal: true module SplitIoClient # # class to implement the all keys matcher # class Matcher def initialize(logger) @logger = logger end # # evaluates if the given object equals the matcher # # @param obj [object] object to be evaluated # # @return [boolean] true if obj equals the matcher def equals?(obj) if obj.nil? false elsif !obj.instance_of?(self.class) false elsif equal?(obj) true else false end end def string_type? false end end end
Version data entries
288 entries across 288 versions & 1 rubygems