Lambda vs non-lambda proc


#1

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

Cheers!


#2

On Mon, Mar 30, 2009 at 9:13 PM, Steve D. removed_email_address@domain.invalid
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.


#3

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

  • J