From: "Jesús Gabriel y Galán" Date: 2007-10-24T16:16:46+09:00 Subject: Re: [QUIZ] Time Window (#144) On 10/24/07, James Koppel wrote: > I then wrote the simple Array#some method that returns true if the given > predicate returns true for at least one of its elements, which I used to write > TimeWindow#incude?. > class Array > def some > each {|el| return true if yield el} > false > end > end Isn't this the same as Enumerable#any? Jesus.