From: Hans Mackowiak Date: 2012-10-31T22:39:15+09:00 Subject: Re: Uniq! array of arrays based on one element? uniq has an block form with more magic: array.uniq! {|x|x[0]} -- Posted via http://www.ruby-forum.com/.