method
raise_wrong_arity_error
raise_wrong_arity_error(args_to_yield, arity)
public
Hide source
# File lib/spec/mocks/error_generator.rb, line 41 def raise_wrong_arity_error(args_to_yield, arity) __raise "#{intro} yielded |#{arg_list(*args_to_yield)}| to block with arity of #{arity}" end