Object
# File lib/rr/wildcard_matchers/boolean.rb, line 8 def ==(other) other.is_a?(self.class) end
# File lib/rr/wildcard_matchers/boolean.rb, line 13 def inspect 'boolean' end
# File lib/rr/wildcard_matchers/boolean.rb, line 4 def wildcard_match?(other) self == other || is_a_boolean?(other) end
# File lib/rr/wildcard_matchers/boolean.rb, line 18 def is_a_boolean?(subject) subject.is_a?(TrueClass) || subject.is_a?(FalseClass) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.