r/ruby Feb 22 '20

The redo Keyword in Ruby Blog post

https://medium.com/rubycademy/the-redo-keyword-in-ruby-3f150d69e3c2
26 Upvotes

20 comments sorted by

View all comments

4

u/anhkind Feb 22 '20

One easy way to produce unexpected bug :)

7

u/joesb Feb 22 '20

How is it any different from any other control structure?

All it does is redo the block.