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