On Tue, Apr 19, 2011 at 8:43 AM, Joey Zhou <yimutang / gmail.com> wrote:
> Hi everybody,
>
> There's a class called Enumerator::Generator in Ruby 1.9.2, and it seems
> to have only one method "#each" of its own.
> However the ruby-doc page of Enumerator::Generator is empty, I didn't
> google out the useage of it.
>
> So, can you give me an example how to use this class?

You can see an example in a recent posting:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/381414

Cheers

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/