Рубин найти метод
[1,2,3,1].find do |item|
item == 1
end
# This returns the first 1 that it finds
gritter97
[1,2,3,1].find do |item|
item == 1
end
# This returns the first 1 that it finds