Iterate over the array with Enumerable#each . Put into a block the code you want to execute for each item in the array. [1, 2, 3, 4].each { ...
確定! 回上一頁