arturoherrero/seven-languages-in-seven-weeks — comment on commit ac7b63bab0ab91eec2e9e87d62c6ae5caad1a7a9
File: 1-ruby/day-2/find.rb line 23
By arturoherrero:

A **set** is an abstract data structure that can store certain values, without any particular order, and **no repeated values**.

You have an Array and checks if exists the element that you want to insert in Array

def insert?(o)
if exists?(o)
nil
else
add(o)
end
end