RubyGems.org

This gem add Enumerable#weighted_sample_by method.

installgem install weighted_sample
Authors

todesking

2,276 total downloads 2,276 for this version
Owners

Eb54d1a9d9a9d1b25a62f1387c49a315

Gemfile
gem 'weighted_sample', '~> 1.0.0'
Versions
  1. 1.0.0 August 21, 2012 (5.5 KB)
Development Dependencies
  1. rspec >= 0