🎓 How to use `yield` Mar 21, 2021 #TIL https://gist.github.com/1519fbd8795171089aaaf9c0e6fcab8c Imagine you have a loan Say you have a process to carry out after making some changes to the loan. i.e. Create an alert Do some calculations And you have a few instances when this should happen. i.e. Changing a currency value or duration.