summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/random/formatter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/random/formatter.rb b/lib/random/formatter.rb
index 18e6717b6c..45b53a7b6e 100644
--- a/lib/random/formatter.rb
+++ b/lib/random/formatter.rb
@@ -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: [*"!".."/"]) #=> ",.,++%/''."