From: Michael Neumann Date: 2004-05-07T00:06:46+09:00 Subject: Re: [ann] iterator-0.7 On Thu, May 06, 2004 at 07:07:09PM +0900, Simon Strandgaard wrote: > homepage: > http://raa.ruby-lang.org/list.rhtml?name=iterator > > download: > http://rubyforge.org/frs/?group_id=18&release_id=467 > > > External iterators with some STL inspiration. BTW, enumerator and generator both serve similar puposes and ship with Ruby by default. require 'enumerator' require 'generator' si = "string".to_enum(:each_byte) for byte in si ... end g = Generator.new(si) while g.next? p g.next end I am not sure where the differences are. And I don't say that iterator is not useful ;-) Regards, Michael