# File basiclibrary.rb, line 41 def each_unique_pair self.each_with_index{ |a,i| self[(i+1)..-1].each{ |b| yield a,b } } end