diff options
author | Masataka Pocke Kuwabara <[email protected]> | 2020-02-24 16:37:33 +0900 |
---|---|---|
committer | Samuel Williams <[email protected]> | 2020-02-25 16:53:35 +1300 |
commit | fa1ec60424a80286a96dc746339be5a37df82def (patch) | |
tree | 9d378d654c967bb751e45f52ec7da69ef58a7f3c /ext/pathname/pathname.c | |
parent | 8b6e2685a4b7c7de905f7ed60c02ef85e0724754 (diff) |
Fix wrong documentation for return value of Pathname#fnmatch
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2923
Diffstat (limited to 'ext/pathname/pathname.c')
-rw-r--r-- | ext/pathname/pathname.c | 4 |
1 files 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. * |