🌈 搜索
📅  最后修改于: 2022-03-11 15:04:47.005000             🧑  作者: Mango
[1,2,3,1].find do |item| item == 1 end # This returns the first 1 that it finds