==(other)
click to toggle source
def ==(other)
other.is_a?(self.class)
end
eql?(other)
click to toggle source
inspect()
click to toggle source
def inspect
'boolean'
end
wildcard_match?(other)
click to toggle source
def wildcard_match?(other)
self == other ||
other.equal?(true) || other.equal?(false)
end