class RR::WildcardMatchers::Anything

Public Instance Methods

==(other) click to toggle source
# File lib/rr/wildcard_matchers/anything.rb, line 8
def ==(other)
  other.is_a?(self.class)
end
Also aliased as: eql?
eql?(other)
Alias for: ==
inspect() click to toggle source
# File lib/rr/wildcard_matchers/anything.rb, line 13
def inspect
  'anything'
end
wildcard_match?(other) click to toggle source
# File lib/rr/wildcard_matchers/anything.rb, line 4
def wildcard_match?(other)
  true
end