Array#uniq returns a new array with duplicate elements removed. It determines duplicates by comparing pairs of elements with ==; uniq! removes duplicates from the original array. section 9.2.4
>> [1,2,3,1,4,3,5,1].uniq
=> [1, 2, 3, 4, 5]
Repeated integers are reduced to one occurrence each in the returned array. section 9.2.4


