Sha256: 12625ed3a9804892b75dbe2ca6c7ba0a9fdb67f6abb136f612a09e9d4301c898

Contents?: true

Size: 191 Bytes

Versions: 30

Compression:

Stored size: 191 Bytes

Contents

module RR
  module WildcardMatchers
    class Anything
      def wildcard_match?(other)
        true
      end

      def ==(other)
        other.is_a?(self.class)
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
rr-0.1.8 lib/rr/wildcard_matchers/anything.rb
rr-0.1.12 lib/rr/wildcard_matchers/anything.rb
rr-0.1.14 lib/rr/wildcard_matchers/anything.rb
rr-0.1.13 lib/rr/wildcard_matchers/anything.rb
rr-0.1.10 lib/rr/wildcard_matchers/anything.rb
rr-0.1.7 lib/rr/wildcard_matchers/anything.rb
rr-0.1.15 lib/rr/wildcard_matchers/anything.rb
rr-0.1.11 lib/rr/wildcard_matchers/anything.rb
rr-0.2.5 lib/rr/wildcard_matchers/anything.rb
rr-0.3.4 lib/rr/wildcard_matchers/anything.rb
rr-0.3.0 lib/rr/wildcard_matchers/anything.rb
rr-0.2.2 lib/rr/wildcard_matchers/anything.rb
rr-0.2.4 lib/rr/wildcard_matchers/anything.rb
rr-0.3.2 lib/rr/wildcard_matchers/anything.rb
rr-0.2.1 lib/rr/wildcard_matchers/anything.rb
rr-0.3.1 lib/rr/wildcard_matchers/anything.rb
rr-0.1.9 lib/rr/wildcard_matchers/anything.rb
rr-0.2.3 lib/rr/wildcard_matchers/anything.rb
rr-0.3.10 lib/rr/wildcard_matchers/anything.rb
rr-0.3.11 lib/rr/wildcard_matchers/anything.rb