# File lib/facets/core/enumerable/each_unique_pair.rb, line 33 def each_unique_pair(&yld) self.each_combination(2,&yld) #s = self.to_a #self.each_with_index{ |a,i| # self[(i+1)..-1].each{ |b| yield a,b } #} end