Here is the solution:
array1 = ['1-','2-','3-']
array2 = ['FIRST','SECOND','THIRD']
array1.zip(array2).map { |a| a.join('') }
I leave the topic open to that or I have another fundamental question.
Here is the solution:
array1 = ['1-','2-','3-']
array2 = ['FIRST','SECOND','THIRD']
array1.zip(array2).map { |a| a.join('') }
I leave the topic open to that or I have another fundamental question.