diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-11 23:43:13 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-11 23:43:13 +0000 |
commit | 7bda092ee86c0f4615e0c68773cfe894bdfbe966 (patch) | |
tree | e25d65ec17a9772e30039a407332a805e9f4a3e2 /lib/securerandom.rb | |
parent | d900ed31f776a85291a6aee870c942a57ab86e6b (diff) | |
download | ruby-7bda092ee86c0f4615e0c68773cfe894bdfbe966.tar.gz |
update document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/securerandom.rb')
-rw-r--r-- | lib/securerandom.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/securerandom.rb b/lib/securerandom.rb index e9679fff61..e04251bb67 100644 --- a/lib/securerandom.rb +++ b/lib/securerandom.rb @@ -116,7 +116,7 @@ module SecureRandom # SecureRandom.hex generates a random hex string. # # The argument _n_ specifies the length of the random length. - # The length of the result string is twice of n. + # The length of the result string is twice of _n_. # # If _n_ is not specified, 16 is assumed. # It may be larger in future. @@ -135,7 +135,7 @@ module SecureRandom # SecureRandom.base64 generates a random base64 string. # # The argument _n_ specifies the length of the random length. - # The length of the result string is about 4/3 of n. + # The length of the result string is about 4/3 of _n_. # # If _n_ is not specified, 16 is assumed. # It may be larger in future. |