From: Pit Capitain Date: 2006-03-25T01:14:09+09:00 Subject: Re: iterator class not working Peter Ertl schrieb: > class Iterator > ... > end > > i = Iterator.new( %w{ Ringo John Paul George } ) > > while item = i.next > puts item > end Peter, test your code with puts i.next puts i.next I don't think you can get away with only one continuation. Regards, Pit