summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2025-10-21 15:48:11 -0500
committerGitHub <noreply@github.com>2025-10-21 16:48:11 -0400
commitcb52809ca124cb627293a666e8cbb44e031eeec1 (patch)
treefe3453544c03c9dc4eeca78060b25e2c5a33226e /string.c
parent862b42a52cd59ca406db40cf47e98fa107c97fd1 (diff)
[DOC] Tweaks for String#scrub (#14892)
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string.c b/string.c
index 344b38d255..8f9d19fb54 100644
--- a/string.c
+++ b/string.c
@@ -11911,8 +11911,8 @@ enc_str_scrub(rb_encoding *enc, VALUE str, VALUE repl, int cr)
/*
* call-seq:
- * scrub(replacement_string = default_replacement) -> new_string
- * scrub{|bytes| ... } -> new_string
+ * scrub(replacement_string = default_replacement_string) -> new_string
+ * scrub{|sequence| ... } -> new_string
*
* :include: doc/string/scrub.rdoc
*