From: Li Chen Date: 2006-10-20T07:18:31+09:00 Subject: Re: How to the output in 12x8 format > > require 'enumerator' > > ary = (1..96).to_a > ary.each_slice(8) {|slice| puts slice.inspect} > > [1, 2, 3, 4, 5, 6, 7, 8] >....... > [89, 90, 91, 92, 93, 94, 95, 96] Hi, Why should I write the code :require 'enumerator'? Is enumerator a module or class? Thanks, Li -- Posted via http://www.ruby-forum.com/.