Skip to content
☈king edited this page Nov 19, 2012 · 3 revisions

Jump back to the top of the inner-most block. E.g.:

2.times do |i|
  3.times do |j|
    print i,j
    j += 1
    redo if 1 == j
  end
end
puts

Prints:

0001010210111112

TODO: Pick a better example

Clone this wiki locally