Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
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). Instalation: gem install guided_randomness Usage: require 'guided_randomness' [1,2,3].get_rand([0.5, 0.3, 0.2]) or require 'guided_randomness' [1,2,3].get_rand([4,12,9]) LICENSE ?