From: Robert Klemme Date: 2012-05-08T06:03:40+09:00 Subject: Re: Why Enumerator#next does not return more than one value? On Mon, May 7, 2012 at 10:37 PM, Földes László wrote: > Florian Gilcher wrote in post #1059865: > >> This is what #take does: >> >> http://www.ruby-doc.org/core-1.9.3/Enumerator.html >> >> has an example in the docs of #new. > > By checking the documentation there is no difference between #take and > #first. Both rewind and return some values from the start. There are other ways though. Did you see my posting? Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/