method
constraints_match?

1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Mocks::ArgumentExpectation
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
constraints_match?(args)
public
Hide source
# File lib/spec/mocks/argument_expectation.rb, line 200 def constraints_match?(args) return false if args.length != @expected_params.length @expected_params.each_index { |i| return false unless @expected_params[i].matches?(args[i]) } return true end