1.

What do you mean by redo statement in Ruby?

Answer»

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.


Redo Ruby
Output of above code is :-


Redooutput ruby



Discussion

No Comment Found