mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] fixed the default value of flags [ci skip]
This commit is contained in:
parent
9692aeedf1
commit
9ca3051660
1 changed files with 1 additions and 1 deletions
2
dir.rb
2
dir.rb
|
@ -298,7 +298,7 @@ class << File
|
|||
# File.fnmatch('**/foo', 'c:/a/b/c/foo', File::FNM_PATHNAME) #=> true
|
||||
# File.fnmatch('**/foo', 'a/.b/c/foo', File::FNM_PATHNAME) #=> false
|
||||
# File.fnmatch('**/foo', 'a/.b/c/foo', File::FNM_PATHNAME | File::FNM_DOTMATCH) #=> true
|
||||
def fnmatch(pattern, path, flags = nil)
|
||||
def fnmatch(pattern, path, flags = 0)
|
||||
end
|
||||
alias fnmatch? fnmatch
|
||||
end if false
|
||||
|
|
Loading…
Add table
Reference in a new issue