On Mon, 17 May 2004 21:46:45 +0900, nobu.nokada wrote:

>> and now the fun stuff (turning into an enum):
>> 
>> 5.enum_filter(:times){ |i| i[0] == 0 }.collect
>> => [2, 4]
> 
> Is it a method of Enumerator, although Integer doesn't include
> it?

Sorry, I forgot to mention it.
It would be a method of Object (like enum_for).

Regards,
Kristof