Ruby Array find_first object?

后端 未结 4 1080
既然无缘
既然无缘 2020-12-25 09:15

Am I missing something in the Array documentation? I have an array which contains up to one object satisfying a certain criterion. I\'d like to efficiently find that objec

4条回答
提交回复
热议问题