From fa1ec60424a80286a96dc746339be5a37df82def Mon Sep 17 00:00:00 2001 From: Masataka Pocke Kuwabara Date: Mon, 24 Feb 2020 16:37:33 +0900 Subject: Fix wrong documentation for return value of Pathname#fnmatch --- ext/pathname/pathname.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c index 458846db27..ac0ab91987 100644 --- a/ext/pathname/pathname.c +++ b/ext/pathname/pathname.c @@ -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. * -- cgit v1.2.3