Block, Proc, Lambda Block If you have used each before, then you have used blocks! A code block is a chunk of code you can pass to a method, as if the code block were another parameter. A code block ...
**a block contains the code that sits between _*do*_ and _*end*_ in your ruby code** Blocks are temporary methods without names. (we could call them anonymous methods). Instead of naming the method, ...