fork download
  1. list = [1,2,3,4,5,6]
  2. list.each_slice(2){|slice| p slice}
Success #stdin #stdout 0s 29112KB
stdin
Standard input is empty
stdout
[1, 2]
[3, 4]
[5, 6]