uniq has an block form with more magic:

array.uniq! {|x|x[0]}

-- 
Posted via http://www.ruby-forum.com/.