fork download
  1. arr = ['A', 'B', 'C']
  2. arr.each(){|i| puts i}
  3.  
  4. for value in arr
  5. puts value
  6. end
  7.  
Success #stdin #stdout 0.01s 7408KB
stdin
Standard input is empty
stdout
A
B
C
A
B
C