| What do you mean by redo statement in Ruby?
Ruby redo statement basically is used to repeat current iteration of loop. And when we need to execute redo statement we donot need to evaluate loop condition. The redo keyword can be useful in the context of a loop or an enumeration.
Output of above code is :-
| | |