Sha256: 434ba4fd6b93d52be9a8af189ac3fd0f1c0ffd7deb872c480ab437217b334821

Contents?: true

Size: 342 Bytes

Versions: 23

Compression:

Stored size: 342 Bytes

Contents

module RR
  module Expectations
    class AnyArgumentExpectation < ArgumentEqualityExpectation
      def initialize
        super
      end

      def exact_match?(*arguments)
        false
      end

      def wildcard_match?(*arguments)
        true
      end

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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rr-0.1.14 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.10 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.13 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.11 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.15 lib/rr/expectations/any_argument_expectation.rb
rr-0.1.12 lib/rr/expectations/any_argument_expectation.rb
rr-0.2.3 lib/rr/expectations/any_argument_expectation.rb
rr-0.3.2 lib/rr/expectations/any_argument_expectation.rb
rr-0.3.1 lib/rr/expectations/any_argument_expectation.rb
rr-0.3.0 lib/rr/expectations/any_argument_expectation.rb
rr-0.2.4 lib/rr/expectations/any_argument_expectation.rb
rr-0.2.2 lib/rr/expectations/any_argument_expectation.rb
rr-0.3.3 lib/rr/expectations/any_argument_expectation.rb
rr-0.3.4 lib/rr/expectations/any_argument_expectation.rb
rr-0.3.10 lib/rr/expectations/any_argument_expectation.rb
rr-0.2.1 lib/rr/expectations/any_argument_expectation.rb
rr-0.2.5 lib/rr/expectations/any_argument_expectation.rb
rr-0.3.11 lib/rr/expectations/any_argument_expectation.rb
rr-0.3.9 lib/rr/expectations/any_argument_expectation.rb
rr-0.3.5 lib/rr/expectations/any_argument_expectation.rb