What is the purpose of the retry keyword in Ruby?
A. It resumes execution at the beginning of the block where an exception was rescued
B. It re-runs the entire program from the beginning
C. It raises an exception if an error occurs during method execution
D. It restarts the current iteration of a loop
Answer: Option D

Join The Discussion