Iterate Each

Question

ADDQUESTION

Solution

array = [1, 2, 3, 4, 5, 6]
array.each do |i|
    puts i
end
Run this
Comments by Disqus