1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] SecureRandom is extended by Random::Formatter.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2018-12-27 12:42:45 +00:00
parent e3e09806a2
commit b7c2ca7a32

View file

@ -16,6 +16,23 @@
# * /dev/urandom
# * Win32
#
# SecureRandom is extended by Random::Formatter module which defines
# following methods:
#
# * alphanumeric
# * base64
# * choose
# * gen_random
# * hex
# * rand
# * random_bytes
# * random_number
# * urlsafe_base64
# * uuid
#
# These methods are usable as class methods of SecureRandom such as
# `SecureRandom.hex`.
#
# === Examples
#
# Generate random hexadecimal strings: