dblack / wobblini.net writes:

> Hi --
>
> Can someone jog my memory, and/or enlighten me, as to what a case
> would be where it's useful to have:
>
>   array.map
>
> return an Enumerator?  I can't seem to come up with an example where:
>
>   array.map.anything
>
> is different from
>
>   array.anything

names.map { |x| x.size }.max, and you don't need an immediate array.

> Thanks --
>
>
> David

-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org