aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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
commit56cfbfc297d9e1d7820e6bece4cefed556401e2c (patch)
tree944c786536598e97aae775e5a55d255d1a91d0ff /lib
parent32bf1f2d8e6932405e4a79144bb4bdc9d37dcb4e (diff)
downloadruby-56cfbfc297d9e1d7820e6bece4cefed556401e2c.tar.gz
[DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-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