basics/for_loop_array.rb

tests/_examples/basics/for_loop_array.rb in the metorex repository.

# Simple for loop over an array
for x in [1, 2, 3]
  puts x
end

Output:

1
2
3