method
matches?
RSpec latest stable (1.3.1)
-
0 notes -
Class: Spec::Mocks::DuckTypeArgConstraint
- 1.1.4 (0)
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
matches?(value)
public
Hide source
# File lib/spec/mocks/argument_expectation.rb, line 103 def matches?(value) @methods_to_respond_to.all? { |sym| value.respond_to?(sym) } end