mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix wrong documentation for return value of Pathname#fnmatch
This commit is contained in:
parent
8b6e2685a4
commit
fa1ec60424
Notes:
git
2020-02-25 12:54:08 +09:00
1 changed files with 2 additions and 2 deletions
|
@ -610,8 +610,8 @@ path_lchown(VALUE self, VALUE owner, VALUE group)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* pathname.fnmatch(pattern, [flags]) -> string
|
||||
* pathname.fnmatch?(pattern, [flags]) -> string
|
||||
* pathname.fnmatch(pattern, [flags]) -> true or false
|
||||
* pathname.fnmatch?(pattern, [flags]) -> true or false
|
||||
*
|
||||
* Return +true+ if the receiver matches the given pattern.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue