Examveda

In Ruby, what is the purpose of the `redo` keyword?

A. Repeats the current iteration of the loop

B. Exits the loop

C. Skips the current iteration of the loop

D. Restarts the loop from the beginning

Answer: Option A


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

Join The Discussion

Related Questions on Control Structures in Ruby