Sha256: 89a2d728667fe4a4dd2c93ae4ccc324f770715c33fe7abe367c499dbe10d279b
Contents?: true
Size: 538 Bytes
Versions: 28
Compression:
Stored size: 538 Bytes
Contents
# frozen_string_literal: true module SplitIoClient # # class to implement the all keys matcher # class Matcher # # 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
28 entries across 28 versions & 1 rubygems