Sha256: 8f8d5ee5d6a41d63a1c8c6edb7ba01d6eb9fc42043f7bc886a223ca5f1744629

Contents?: true

Size: 239 Bytes

Versions: 7

Compression:

Stored size: 239 Bytes

Contents

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rr-0.1.1 lib/rr/expectations/wildcard_matchers/anything.rb
rr-0.1.3 lib/rr/expectations/wildcard_matchers/anything.rb
rr-0.1.5 lib/rr/expectations/wildcard_matchers/anything.rb
rr-0.1.0 lib/rr/expectations/wildcard_matchers/anything.rb
rr-0.1.4 lib/rr/expectations/wildcard_matchers/anything.rb
rr-0.1.2 lib/rr/expectations/wildcard_matchers/anything.rb
rr-0.1.6 lib/rr/expectations/wildcard_matchers/anything.rb