Go to Google Groups Home    comp.lang.ruby
Re: Matz talk at oscon

Emiel van de Laar <em...@il.fontys.nl>

* gabriele renzi (surrender...@remove-yahoo.it) wrote:

> Aaron Johnson ha scritto:
> >Hi -

> >I was unable to get in to see Matz' talk at oscon last week, the  venue
> >was full.
> >Are the slide available?

> http://www.rubyist.net/~matz/slides/oscon2005/

I was trying out some of the examples on the slides. Specifically
slide number 57 gave me an unexptected result.

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]]

Is this 1.9 behaviour?

Thanks,

Emiel
--
Emiel van de Laar