RubyGems.org

An extension to the Fisher-Yates-Shuffle algorithm to support weights. It includes a ruby core extension for arrays.

installgem install weighted_shuffle
Authors

Frank C. Eckert

1,067 total downloads 377 for this version
Owners

464977ca8ea40fc0dee0e4b6f6a22995

Licenses

MIT

Gemfile
gem 'weighted_shuffle', '~> 0.2.0'
Versions
  1. 0.2.0 January 30, 2014 (7 KB)
  2. 0.1.0 July 9, 2013 (7 KB)
Runtime Dependencies
  1. activesupport >= 0