Sha256: 1277fde16a41615af87cfce21b249bddde4206c101ba3f2801e780d8d254905c

Contents?: true

Size: 268 Bytes

Versions: 10

Compression:

Stored size: 268 Bytes

Contents

module RR
  module Expectations
    class AnyArgumentExpectation
      def exact_match?(*arguments)
        false
      end

      def wildcard_match?(*arguments)
        true
      end

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rr-0.1.2 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.3 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.5 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.6 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.7 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.4 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.8 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.1 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.0 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.9 lib/rr/expectations/any_argument_expectation.rb