method
matches?
rspec latest stable - Class:
Spec::Mocks::DuckTypeArgConstraint
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