Hello,
I wrote this post where I explain the subtle differences between procs &
lambdas, and how closures work in Ruby.

Please check it out:

http://www.blackbytes.info/2016/02/ruby-procs-and-lambdas/

Let me know what you think :)
(supressed text/html)
Unsubscribe: <mailto:ruby-talk-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>