Ruby - Blocks, Procs, and Lambdas
Which of the following Ruby code snippets correctly defines a lambda that takes one argument and doubles it?
->(args) { block }.->(args) { } for lambdas [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions