Advertisement

Blocks, Procs, and Lambdas

  • Matt Clements
Chapter

Abstract

Some of the most powerful features of the Ruby language are closures, which are known as blocks, procs, and lambdas within Ruby. Closures within Ruby are also often misunderstood, mainly due to the flexibility when using them within Ruby.

Keywords

Local Variable Main Issue Yield Statement Multiple Parameter Powerful Feature 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Matt Clements 2014

Authors and Affiliations

  • Matt Clements
    • 1
  1. 1.BucksUK

Personalised recommendations