The closest thing there is to a solution is Enumerable#each_slice in Ruby core or Array#in_groups_of in Active Support.
確定! 回上一頁