logo Boston Ruby Group


May 14, 2013

Getting Closure

by Johnny Boursiquot

Ruby's implementation of closures in the form of blocks, procs and lambdas is one of the most powerful aspects of the language. Wielded properly, closures can yield more elegant and concise code. We'll explore these concepts with examples of when and how you leverage them.