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

[DOC] Adjusted spacing [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2021-04-11 13:21:33 +09:00
parent 37b96d6773
commit 60bdf03b6d
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

2
dir.c
View file

@ -3261,7 +3261,7 @@ fnmatch_brace(const char *pattern, VALUE val, void *enc)
* File.fnmatch('**.rb', 'main.rb') #=> true
* File.fnmatch('**.rb', './main.rb') #=> false
* File.fnmatch('**.rb', 'lib/song.rb') #=> true
* File.fnmatch('*', 'dave/.profile') #=> true
* File.fnmatch('*', 'dave/.profile') #=> true
*
* pattern = '*' '/' '*'
* File.fnmatch(pattern, 'dave/.profile', File::FNM_PATHNAME) #=> false