method

uniq

uniq()
public

Returns a new array by removing duplicate values in self.

See also Array#uniq.