David A. Black wrote:
>> No, that's fine. More efficient would be
>>
>>  !('1'..'10').find({|x| x == '2'}).nil?
> 
> 
> I don't think find takes a hash argument :-)  Also, why not lose the !
> and the .nil? ?

a) The fingers get ahead of the brain :)
b) To get a true/false. But not needed, of course.