From c3b4b8ea0c7632154d028b94e74cac03c5135e9c Mon Sep 17 00:00:00 2001 From: James Mead Date: Sun, 8 Dec 2024 18:04:19 +0000 Subject: [PATCH] Clarify docs for Expectation#with yieldparam This seems more consistent with what we've done with the `param` YARD tag type. --- lib/mocha/expectation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mocha/expectation.rb b/lib/mocha/expectation.rb index 41700949..cf794c10 100644 --- a/lib/mocha/expectation.rb +++ b/lib/mocha/expectation.rb @@ -204,7 +204,7 @@ def at_most_once # # @param [Array] expected_parameters_or_matchers expected parameter values or parameter matchers. # @yield optional block specifying custom matching. - # @yieldparam [*Array] actual_parameters parameters with which expected method was invoked. + # @yieldparam [Array] actual_parameters parameters with which expected method was invoked. # @yieldreturn [Boolean] +true+ if +actual_parameters+ are acceptable. # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained. #