Sha256: aabbb59d7f46fd311db4fb9bb101ebe8434e72c5252ba15e814b169add2a63b2
Contents?: true
Size: 322 Bytes
Versions: 22
Compression:
Stored size: 322 Bytes
Contents
module RR module WildcardMatchers class Boolean def wildcard_match?(other) self == other || other.equal?(true) || other.equal?(false) end def ==(other) other.is_a?(self.class) end alias :eql? :== def inspect 'boolean' end end end end
Version data entries
22 entries across 22 versions & 1 rubygems