RubyGems Navigation menu

fraction_life 0.0.6

Returns a random integer from 1 to infinity. Half the time it returns 1. Each succesive integer is half the probability of the previous.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.6 - November 09, 2018 (5 KB)
  2. 0.0.5 - November 09, 2018 (4.5 KB)
  3. 0.0.4 - November 08, 2018 (4.5 KB)
  4. 0.0.2 - November 05, 2018 (4.5 KB)
  5. 0.0.1 - November 04, 2018 (4 KB)

Owners:

Authors:

  • Mike O'Sullivan

SHA 256 checksum:

b8cb0be9943a278dba852e54ff9965f170a33865f4c088582dc7c9fd7454ea71

Total downloads 8,143

For this version 1,995

License:

MIT

Required Ruby Version: >= 0

Links: