RubyGems Navigation menu

fraction_life 0.0.5

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:
=

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:

=

Total downloads 8,467

For this version 1,591

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: