Q. What is the purpose of the call method in Ruby procs and lambdas?

  • (A) To return the value of the proc or lambda
  • (B) To execute the code contained within the proc or lambda
  • (C) None of the above
  • (D) To return the value of the proc or lambda
πŸ’¬ Discuss
βœ… Correct Answer: (B) To execute the code contained within the proc or lambda

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
167
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate