1
0
Fork 0
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:
Masataka Pocke Kuwabara 2020-02-24 16:37:33 +09:00 committed by Samuel Williams
parent 8b6e2685a4
commit fa1ec60424
Notes: git 2020-02-25 12:54:08 +09:00

View file

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