Fix code example doc for Random.alphanumeric
This commit is contained in:
parent
247fa3ca76
commit
cfae3ed422
Notes:
git
2023-08-29 10:48:48 +00:00
@ -241,7 +241,7 @@ module Random::Formatter
|
||||
# prng = Random.new
|
||||
# prng.alphanumeric(10) #=> "i6K93NdqiH"
|
||||
#
|
||||
# Random.alphanumeric(4, chars: [*"0".."9"])' #=> "2952"
|
||||
# Random.alphanumeric(4, chars: [*"0".."9"]) #=> "2952"
|
||||
# # or
|
||||
# prng = Random.new
|
||||
# prng.alphanumeric(10, chars: [*"!".."/"]) #=> ",.,++%/''."
|
||||
|
Loading…
x
Reference in New Issue
Block a user