Vidyalelo
Ruby Programming · Q25

Advanced Topics in Ruby

Programming · Ruby Programming · question 25

Q25

Which Ruby method is commonly used for converting a block to a Proc object?

A.
to_proc
Answer
B.
&
C.
proc
D.
lambda

Answer: Option A

Solution

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