Vidyalelo
Ruby Programming · Q23

Blocks and Procs in Ruby

Programming · Ruby Programming · question 23

Q23

What does the lambda keyword return in Ruby?

A.
A Block object
B.
A Method object
C.
A Proc object
Answer
D.
A Lambda object

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board