1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] Fix a typo in Dir.fnmatch

This commit is contained in:
Henrik Nyh 2021-08-26 12:44:34 +01:00 committed by Sutou Kouhei
parent ef10e8a1eb
commit 19ab24a064
Notes: git 2021-08-27 09:16:51 +09:00

2
dir.rb
View file

@ -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