Introduction

How to generate a random number in Ruby.

Remarks

Alias of Random::DEFAULT.rand. This uses a pseudo-random number generator which approximates true randomness