Introduction
A Proc lets you save a small piece of code to use later. It helps you run the same code many times without rewriting it.
When you want to reuse a block of code multiple times.
When you want to pass a block of code as an argument to a method.
When you want to store a piece of code in a variable for later use.
When you want to delay running some code until a certain event happens.