# File lib/rubytorrent/util.rb, line 166 def shuffle! each_index do |i| j = i + rand(self.size - i); self[i], self[j] = self[j], self[i] end end