how I could use each index for print index of each element in ruby? : I have an array

        array = ["mm,GATO,nIn","mm,GATO,nn","mm,PERRO,nIn","mm,PERRO,nn","mm,LOBO,nIn","mm,LOBO,nn"]


I need to use  each_index  for obtain


     array = ["mm,GATO,nn1","mm,GATO,nn2","mm,PERRO,nn1","mm,PERRO,nn2","mm,LOBO,nn1","mm,LOBO,nn2"]


PLease help me with  this