Fix wrong documentation for return value of Pathname#fnmatch

This commit is contained in:
Masataka Pocke Kuwabara 2020-02-24 16:37:33 +09:00 коммит произвёл Samuel Williams
Родитель 8b6e2685a4
Коммит fa1ec60424
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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