Examveda

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


This Question Belongs to Ruby Programming >> Advanced Topics In Ruby

Join The Discussion

Related Questions on Advanced Topics in Ruby