Home / Report Question

Q. What is the purpose of the retry keyword in Ruby?
  • A. To begin an exception handling block
  • B. To manually raise an exception
  • C. To retry the operation that caused the exception
  • D. To execute code regardless of whether an exception occurs or not

Correct Answer: C