Codelitt Interview Question

Difference between lambda and proc

Interview Answer

Anonymous

Jun 19, 2019

I had brain freeze when i got this asked, but I of course know the answer. Answer is they are more or less the same in ruby, both are a proc, just the difference is parameters, lambda take care of more parameters more or less.