From: nobu.nokada@... Date: 2003-03-13T15:44:43+09:00 Subject: Re: next iteration within a block Hi, At Thu, 13 Mar 2003 14:46:49 +0900, Dave Thomas wrote: > Try > > [1,2].map {|i| next 'b' if i < 2; 'a'} > => ["b", "a"] Note that it's a 1.7 (and later) feature. -- Nobu Nakada