fork download
  1. 5.times() {|i| puts i}
  2. 2.times() {puts '2times'}
  3. 3.upto(5) {|item| puts item}
  4.  
Success #stdin #stdout 0.02s 7452KB
stdin
Standard input is empty
stdout
0
1
2
3
4
2times
2times
3
4
5