#!/usr/bin/ruby # ## https://rosettacode.org/wiki/Loops/Continue # for (1..10) { |i| print i; if (i %% 5) { print "\n"; next; }; print ', '; }