зеркало из https://github.com/github/ruby.git
Fix wrong documentation for return value of Pathname#fnmatch
This commit is contained in:
Родитель
8b6e2685a4
Коммит
fa1ec60424
|
@ -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.
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче