I am trying to determine if the an element in one multi-dimensional array exists in another similarly structured array.
suspects = [['Rod', 100], ['Jane', 75], ['Freddy', 125]]
criminals = [['Bill', 75], ['Ted', 50], ['Rod', 75]]
The response I am looking for is either true or false. In the example above the response would be true because Rod exists in both arrays. The integer value has in the second tier array has no bearing.
How would I code such a test in typically Ruby-like succinctness?