From: Gary Wright Date: 2011-02-05T08:06:40+09:00 Subject: Re: Determining uniqueness on a single array element On Feb 4, 2011, at 4:58 PM, James Byrne wrote: > hex_array = [] > outer_array.each do |inner_array| > next if hex_array.include?( inner_array[2] ) > hex_array << inner_array[2] > . . . This assumes Ruby 1.9.2 where Array#uniq takes a block: outer_array.uniq { |mtime, name, md5| md5 }.do |mtime, name, md5| # do stuff here end Gary Wright