On Oct 24, 2007, at 2:16 AM, Jes=FAs Gabriel y Gal=E1n wrote:

> On 10/24/07, James Koppel <jamesbkoppel / yahoo.com> wrote:
>>  I then wrote the simple Array#some method that returns true if =20
>> the given
>> predicate returns true for at least one of its elements, which I =20
>> 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?

It sure is.

James Edward Gray II=