diff options
-rw-r--r-- | lib/securerandom.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/securerandom.rb b/lib/securerandom.rb index 97911d4d6a..6d5520f605 100644 --- a/lib/securerandom.rb +++ b/lib/securerandom.rb @@ -236,7 +236,7 @@ module Random::Formatter # # The result may contain whatever characters are in the source array. # - # p SecureRandom.choose([*'l'..'r']) #=> "lmrqpoonmmlqlron" + # p SecureRandom.choose([*'l'..'r'], 16) #=> "lmrqpoonmmlqlron" # p SecureRandom.choose([*'0'..'9'], 5) #=> "27309" # # If a secure random number generator is not available, |