Closed C-Miles closed 1 year ago
If you pass an argument to your method calls, then lambdas or procs passed to and_invoke
are called with those arguments, so this example is correct, as there are no arguments passed.
@JonRowe right on! that makes sense, thank you!
We tried using
.and_invoke
and found the lambdas were being called with an argument.