[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

lambda vs non-lambda proc

Steve Dogers

3/30/2009 8:14:00 PM

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

Cheers!
--
Posted via http://www.ruby-....

1 Answer

Sean O'Halpin

3/30/2009 10:12:00 PM

0

On Mon, Mar 30, 2009 at 9:13 PM, Steve Dogers <stevedogers@gmail.com> 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.