Lambda vs non-lambda proc

I guess my question is rather simple, what’s the difference between
blocks defined with lambda and blocks that aren’t?

Cheers!

On Mon, Mar 30, 2009 at 9:13 PM, Steve D. [email protected]
wrote:

I guess my question is rather simple, what’s the difference between
blocks defined with lambda and blocks that aren’t?

Cheers!

A simple question but one not so easily answered. Google “ruby blocks
vs procs” and take your pick.

You should read this:
http://innig.net/software/ruby/closures-in-ruby.rb

  • J