πŸ“Š Ruby
Q. In Ruby, what is the purpose of the -> (stabby lambda) syntax?
  • (A) To define a proc
  • (B) To define a method
  • (C) To define a block of code
  • (D) To define a lambda function
πŸ’¬ Discuss
βœ… Correct Answer: (D) To define a lambda function

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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