summaryrefslogtreecommitdiff
path: root/dir.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-05 08:51:13 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-05 09:58:45 +0900
commit53e2bba0dd9b3e86aa5e8d40a62c3b12a16ac6b3 (patch)
tree039fbcdc86123e5e572f28b6c20ad8fe8aab4400 /dir.rb
parent30886be9f4f42626b94b079885e826335594b8dd (diff)
[DOC] Markup the literal false, and constant [ci skip]
Diffstat (limited to 'dir.rb')
-rw-r--r--dir.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.rb b/dir.rb
index a6768939d4..d9a7f5fa8b 100644
--- a/dir.rb
+++ b/dir.rb
@@ -140,13 +140,13 @@ class Dir
# paths.
#
# The results which matched single wildcard or character set are sorted in
- # binary ascending order, unless false is given as the optional +sort+
+ # binary ascending order, unless +false+ is given as the optional +sort+
# keyword argument. The order of an Array of pattern strings and braces
# are preserved.
#
# Note that the pattern is not a regexp, it's closer to a shell glob.
# See File::fnmatch for the meaning of the +flags+ parameter.
- # Case sensitivity depends on your system (File::FNM_CASEFOLD is ignored).
+ # Case sensitivity depends on your system (+File::FNM_CASEFOLD+ is ignored).
#
# <code>*</code>::
# Matches any file. Can be restricted by other values in the glob.