結果 : ruby return first match in array