Peta masing -masing dengan indeks
[:a, :b, :c].each_with_index.map do |item, index|
# DO THINGS
end
gritter97
[:a, :b, :c].each_with_index.map do |item, index|
# DO THINGS
end