diff options
author | zverok <zverok.offline@gmail.com> | 2022-01-12 22:05:30 +0200 |
---|---|---|
committer | Victor Shepelev <zverok.offline@gmail.com> | 2022-12-11 18:49:56 +0200 |
commit | 381a373ab92e2a5869e75f43815993cef39d32cf (patch) | |
tree | a8048b51e66ad0098f6bd741304faad21e514da6 /random.c | |
parent | f07897fd7bb53a40a8fad5ee2be74e02b53e8614 (diff) | |
download | ruby-381a373ab92e2a5869e75f43815993cef39d32cf.tar.gz |
[DOC] Improve Random::Formatter docs
* Make its usage more obvious (by providing more detailed
examples);
* Include mention of it into Random itself;
* Small cleanups of docs.
Diffstat (limited to 'random.c')
-rw-r--r-- | random.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1803,6 +1803,9 @@ rb_reset_random_seed(void) * PRNGs are currently implemented as a modified Mersenne Twister with a period * of 2**19937-1. As this algorithm is _not_ for cryptographical use, you must * use SecureRandom for security purpose, instead of this PRNG. + * + * See also Random::Formatter module that adds convenience methods to generate + * various forms of random data. */ void |