Examveda

What does the `retry` keyword do when used within a loop in Ruby?

A. Repeats the current iteration of the loop

B. Restarts the loop from the beginning

C. Exits the loop

D. Skips the current iteration of the loop

Answer: Option B


This Question Belongs to Ruby Programming >> Control Structures In Ruby

Join The Discussion

Related Questions on Control Structures in Ruby