summaryrefslogtreecommitdiff
path: root/dir.rb
diff options
context:
space:
mode:
authorHenrik Nyh <henrik@nyh.se>2021-08-26 12:44:34 +0100
committerSutou Kouhei <kou@cozmixng.org>2021-08-27 09:16:25 +0900
commit19ab24a064fe69fce84c0339eed2d59d0e874869 (patch)
tree4a17b34d6bd1063f3b9fef382777ed201dd2c868 /dir.rb
parentef10e8a1eb6e05443ea85137e83a3745bddb7a7f (diff)
[DOC] Fix a typo in Dir.fnmatch
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4781
Diffstat (limited to 'dir.rb')
-rw-r--r--dir.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.rb b/dir.rb
index 4d27b0093e..803ba48485 100644
--- a/dir.rb
+++ b/dir.rb
@@ -224,7 +224,7 @@ class << File
# Matches any file. Can be restricted by other values in the glob.
# Equivalent to <code>/.*/x</code> in regexp.
#
- # <code>*</code>:: Matches all files regular files
+ # <code>*</code>:: Matches all regular files
# <code>c*</code>:: Matches all files beginning with <code>c</code>
# <code>*c</code>:: Matches all files ending with <code>c</code>
# <code>\*c*</code>:: Matches all files that have <code>c</code> in them