Sections
closures
1 thread tagged with this topic
Threads tagged closures
- ✓
What is the difference between a proc and a lambda in Ruby?
Both are objects that hold code you can call later. They differ in two ways: a lambda checks its argument count like a method does, and return inside a lambda...
0replies