A Admin • 833K Points Coach Q. What is the purpose of using blocks and procs in Ruby? (A) To create new instances of classes (B) To encapsulate and pass around chunks of code (C) To handle file input and output (D) To create new instances of classes Correct Answer - Option(B) Views: 9 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.