class RSpec::Support::BlockSignature
@api private
`and_yield` has treated block args as required for many years.
always want to pass a value for each received argument and our
However, we want to treat block args as required since you virtually
For blocks, arguments are optional, even if no default value is provided.
For methods, arguments are required unless a default value is provided.
Deals with the slightly different semantics of block arguments.
def classify_parameters
def classify_parameters super @min_non_kw_args = @max_non_kw_args unless @max_non_kw_args == INFINITY end