I need to iterate over an array and add elements in certain conditions

后端 未结 0 1436
故里飘歌
故里飘歌 2021-01-24 09:32

Hello i need to iterate over an array in ruby and add elements during this iterations.But i have a problem: let\'s say that the length of the array is 6 , if i add one more elem

相关标签:
回答
  • 消灭零回复
提交回复
热议问题