ruby .each output array after code example Example: ruby iterate over array # For Ruby arr = ['a', 'b', 'c'] arr.each do |item| puts item end