RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Know your closures: Ruby's blocks, procs, and lambdas

Anonymous functions (closures) are one of Ruby's most powerful features, and this post explores Ruby's three different flavors of closure -- blocks, procs, and lambdas.

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!