Q18
Which method is used to convert a block into a proc in Ruby?
A.
Proc.new
B.
&
C.
None of the above
D.
.to_proc
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board