#each_slice(n, &block) ⇒ nil. Iterates the given block for each slice of elements. Examples: (1..10).each_slice(3) {|a| p a} # outputs below [1, 2, 3] [4, ...
確定! 回上一頁