12 Sep Lambdas vs Procs vs Blocks
Blocks I'm sure as you started learning Ruby you heard time and time again that everything is an object. That's sort of true. but not really. A block is an anonymous function that can be passed into methods. Blocks are enclosed in a do / end statement or between...