aboutsummaryrefslogtreecommitdiffstats
path: root/lib/securerandom.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-16 03:34:53 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-16 03:34:53 +0000
commitf4fbc7d2a6691a7f789a8a644705039d9bbd0ffe (patch)
tree944c786536598e97aae775e5a55d255d1a91d0ff /lib/securerandom.rb
parentaef5de5fd30e5b77e2e085d23f3be64eb21b7d43 (diff)
downloadruby-f4fbc7d2a6691a7f789a8a644705039d9bbd0ffe.tar.gz
[DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/securerandom.rb')
-rw-r--r--lib/securerandom.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/securerandom.rb b/lib/securerandom.rb
index 5a38fc0292..f53087b954 100644
--- a/lib/securerandom.rb
+++ b/lib/securerandom.rb
@@ -225,6 +225,8 @@ module Random::Formatter
# The version 4 UUID is purely random (except the version).
# It doesn't contain meaningful information such as MAC addresses, timestamps, etc.
#
+ # The result contains 122 random bits (15.25 random bytes).
+ #
# See RFC 4122 for details of UUID.
#
def uuid