Yielding. Am I getting this?


Yielding is like going to a subroutine (the block) then returning (to the method)?


No, yielding is going to a subroutine.

If the subroutine is a block or a lambda, then it will go back to the method after it returns, if it's a proc, it will not.


Thanks, yes, it became a lot clearer as I progressed through the course!