Sha256: 16403e72d06142254d604e6c97fb155a400ce9f4317f3da3c033aacc3dd11d67
Contents?: true
Size: 491 Bytes
Versions: 1
Compression:
Stored size: 491 Bytes
Contents
require "securerandom" module FairDiceRoll RANDOM_NUMBER = 6 # chosen by fair dice roll. # guaranteed to be random. end module Kernel def self.rand(*) FairDiceRoll::RANDOM_NUMBER end def rand(*) FairDiceRoll::RANDOM_NUMBER end end class Random def self.rand(*) FairDiceRoll::RANDOM_NUMBER end def rand(*) FairDiceRoll::RANDOM_NUMBER end end module SecureRandom def self.random_number(*) FairDiceRoll::RANDOM_NUMBER end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fair_dice_roll-3.0.0 | lib/fair_dice_roll.rb |