DEV Community

Discussion on: Why I still love Ruby

 
strzibny profile image
Josef Strzibny

From the Ruby doc: "Proc objects are blocks of code that have been bound to a set of local variables. Once bound, the code may be called in different contexts and still access those variables."

I can also recommend a book patshaughnessy.net/ruby-under-a-mi... that goes greatly to the implementation as well.