Parent

Class Index [+]

Quicksearch

RR::WildcardMatchers::Boolean

Public Instance Methods

==(other) click to toggle source
    # File lib/rr/wildcard_matchers/boolean.rb, line 8
 8:       def ==(other)
 9:         other.is_a?(self.class)
10:       end
Also aliased as: eql?
eql?(other) click to toggle source
Alias for: ==
inspect() click to toggle source
    # File lib/rr/wildcard_matchers/boolean.rb, line 13
13:       def inspect
14:         'boolean'
15:       end
wildcard_match?(other) click to toggle source
   # File lib/rr/wildcard_matchers/boolean.rb, line 4
4:       def wildcard_match?(other)
5:         self == other || is_a_boolean?(other)
6:       end

Protected Instance Methods

is_a_boolean?(subject) click to toggle source
    # File lib/rr/wildcard_matchers/boolean.rb, line 18
18:       def is_a_boolean?(subject)
19:         subject.is_a?(TrueClass) || subject.is_a?(FalseClass)
20:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.