# File lib/hashery/sparsearray.rb, line 457 def shuffle! size.times do a = rand(size).to_i b = rand(size).to_i self[a], self[b] = self[b], self[a] end end