summaryrefslogtreecommitdiff
path: root/ext/pathname
diff options
context:
space:
mode:
authorMasataka Pocke Kuwabara <[email protected]>2020-02-24 16:37:33 +0900
committerSamuel Williams <[email protected]>2020-02-25 16:53:35 +1300
commitfa1ec60424a80286a96dc746339be5a37df82def ()
tree9d378d654c967bb751e45f52ec7da69ef58a7f3c /ext/pathname
parent8b6e2685a4b7c7de905f7ed60c02ef85e0724754 (diff)
Fix wrong documentation for return value of Pathname#fnmatch
Notes: Merged: https://.com/ruby/ruby/pull/2923
-rw-r--r--ext/pathname/pathname.c4
1 files changed, 2 insertions, 2 deletions
@@ -610,8 +610,8 @@ path_lchown(VALUE self, VALUE owner, VALUE group)
/*
* call-seq:
- * pathname.fnmatch(pattern, [flags]) -> string
- * pathname.fnmatch?(pattern, [flags]) -> string
*
* Return +true+ if the receiver matches the given pattern.
*