Home / Programming MCQs / Ruby MCQs / Question

M

Mr. Dubey • 51.33K Points
Coach

Q. 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
(C) By invoking the proc keyword followed by parentheses ()
(D) By using the create_proc function

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.