summaryrefslogtreecommitdiff
path: root/lib/random
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-13 19:54:38 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-13 19:55:44 +0900
commitdc490aced3fc62d7eaa10d2bfc2211da826ea538 (patch)
tree8218a3eb01f1774e83e884f7c05834a7e97b58d1 /lib/random
parent6859d175ba5c77f0aab0af20e2b483c8d5ea9126 (diff)
downloadruby-dc490aced3fc62d7eaa10d2bfc2211da826ea538.tar.gz
[DOC] Improve Random::Formatter description and example
Diffstat (limited to 'lib/random')
-rw-r--r--lib/random/formatter.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/random/formatter.rb b/lib/random/formatter.rb
index c48886f9e0..0e80bd0f70 100644
--- a/lib/random/formatter.rb
+++ b/lib/random/formatter.rb
@@ -3,6 +3,8 @@
# == Random number formatter.
#
+# Formats generated random numbers in many manors.
+#
# === Examples
#
# Generate random hexadecimal strings: