A Admin • 828.03K 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 Correct Answer - Option(B) Views: 6 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.