summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2025-09-30 11:02:27 -0500
committerGitHub <noreply@github.com>2025-09-30 12:02:27 -0400
commit8ce886b2d8bef0d0bc0edf8c1cd2c1348c1cbfef (patch)
tree83686f58ed4a5f9d4ebc498a6c086d4fec942e60 /string.c
parent2f1c30cd50e464880e44da670d3ad8ebe00fc899 (diff)
[DOC] Tweaks for String#partition
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 81353556c9..9d11936de7 100644
--- a/string.c
+++ b/string.c
@@ -11217,7 +11217,7 @@ rb_str_center(int argc, VALUE *argv, VALUE str)
/*
* call-seq:
- * partition(string_or_regexp) -> [head, match, tail]
+ * partition(pattern) -> [pre_match, first_match, post_match]
*
* :include: doc/string/partition.rdoc
*