Find numeric

I've tried to find the functionality but couldn't. Is this really the way to do it?

I am no Ruby specialist, so I think there will be a better way to do the lookup than using #select since I only need the first occurrence, not the entire list of elements that matches.