πŸ“Š Ruby
Q. Which method is used to convert a block into a proc in Ruby?
  • (A) Proc.new
  • (B) &
  • (C) None of the above
  • (D) .to_proc
πŸ’¬ Discuss
βœ… Correct Answer: (D) .to_proc

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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