Nobuyoshi Nakada wrote:

> FYI, in 1.9 each_with_index returns an Enumerator (which is
> built-in now) if no block is given, so you don't need to_enum
> here.
> 
>   for p, i in programs.each_with_index
>     puts p, i
>   end

Wow my wish come true :) Now I've had two come true.  Thank you.
-Roger
-- 
Posted via http://www.ruby-forum.com/.