Categories: None [Edit]

guided_randomness

https://rubygems.org/gems/guided_randomness
https://github.com/esse/Guided-randomness
Simple gem for Ruby which extends Array class, and gave possibility to pick element from it at random, however with certain probability (probability is given for each element). Adds the get_rand function to array class, which take array of chances as arguments (for example [1,2,3].get_rand([3,4,5]))

Total

Ranking: 60,370 of 180,727
Downloads: 14,955

Daily

Ranking: 57,453 of 180,716
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,881137,661bsearch

Owners

#GravatarHandle
1iconEsse