Understanding Yield & Yield_Self in Ruby (Complete Guide)
What does the word “yield” mean in Ruby? And what does it do exactly? Well… Yield is a keyword (meaning it’s a core part of the language) & it’s used inside methods for calling a block. In other words, yield is pausing our method & transfering control to the block so that it can do … Read more