tl;dr. Use catch/throw block: catch :take_me_out do 100.downto(0).each_slice(10) do |j| puts "Outer loop" j.each do |i| puts "Inner loop ...
確定! 回上一頁