Class RR::WildcardMatchers::Anything
In: lib/rr/wildcard_matchers/anything.rb
Parent: Object

Methods

==   eql?   inspect   wildcard_match?  

Public Instance methods

[Source]

    # File lib/rr/wildcard_matchers/anything.rb, line 8
 8:       def ==(other)
 9:         other.is_a?(self.class)
10:       end
eql?(other)

Alias for #==

[Source]

    # File lib/rr/wildcard_matchers/anything.rb, line 13
13:       def inspect
14:         'anything'
15:       end

[Source]

   # File lib/rr/wildcard_matchers/anything.rb, line 4
4:       def wildcard_match?(other)
5:         true
6:       end

[Validate]