Ruby - Blocks, Procs, and Lambdas
Identify the error in this Ruby code:
l = ->(x, y) { x + y }
l.call(5)l = ->(x, y) { x + y }
l.call(5)15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions