method

matches?

rspec latest stable - Class: Spec::Mocks::DuckTypeArgConstraint

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.4) is shown here.

matches?(value)
public

No documentation available.

# File lib/spec/mocks/argument_expectation.rb, line 103
      def matches?(value)
        @methods_to_respond_to.all? { |sym| value.respond_to?(sym) }
      end