In Ruby 1.8, there are subtle differences between proc/lambda on the one hand, and Proc.new
on the other.
- What are those differences?
- Can you give guidelines on how to decide which one to choose?
- In Ruby 1.9, proc and lambda are different. What’s the deal?