> ...
> or if you REALLY wanted those results:
>
> ruby-1.9.1-p376 > (1..3).map {|n| n**2}
> > [1, 4, 9]

Oops well assuming the operation is correct--it's because I want an
enumerator, not an array.

> As far as I can tell, standard Ruby Enumerable#to_enum never took a block

Older builds of 1.9.0 did, or so I am told [1].

Currently one can roll one's own "filter" block if desired, I was just
wondering if it was a "slip up" to remove the functionality or not.  I
assume it wasn't, but just wanted to double check.

Thanks.

-r

[1] http://www.ruby-forum.com/topic/198804