Reading through the Ruby Doc 2.3.0 which states the strategy that Ruby code uses to generate a Random Number.
- openssl
- /dev/urandom
- Win32
But looking 2.3.0 Source I don't see any sign of /dev/urandom
be used.
Atleast 2.2.2 has /dev/urandom
logic.
Please correct me if I'm wrong. I'm just helping myself understand how does random number are generated in Ruby.