From: Yukihiro Matsumoto Date: 2005-08-10T08:17:09+09:00 Subject: Re: Matz talk at oscon Hi, In message "Re: Matz talk at oscon" on Wed, 10 Aug 2005 05:15:56 +0900, Emiel van de Laar writes: |> wee% ruby -v -renumerator -e "p [4,2,1].to_enum(:each_with_index).reject{|x,i| i%2==0}" |> ruby 1.8.2 (2004-12-25) [powerpc-darwin8.2.0] |> [[2, 1]] | |Wait this is supposed to get rid of elements with even indexes; which |it does. Guess the slide is wrong. It is. The last minute change was wrong. Replace "reject" with "select". matz.