module ArrayPairer
Constants
- VERSION
Public Instance Methods
array_pairer(array = [])
click to toggle source
# File lib/array_pairer.rb, line 6 def array_pairer(array = []) array.shuffle.each_slice(2).to_a end