Q4
How do you create a proc in Ruby?
A.
By using the create_proc function
B.
Using the Proc.new method or the -> (stabby lambda) syntax
AnswerC.
By invoking the proc keyword followed by parentheses ()
D.
None of the above
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board