summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorBurdetteLamar <burdettelamar@yahoo.com>2025-07-09 12:55:44 -0500
committerPeter Zhu <peter@peterzhu.ca>2025-07-09 14:41:11 -0400
commit3baed2ea38f0c1f3c59e548cb34b802d3318f7c2 (patch)
treec11f2c60b34a83e535d46070c45714a9fdae3712 /string.c
parent94e702b0baa215f7b9f5fa0434b290c7b7762a2d (diff)
[DOC] Tweaks for String#chr
Diffstat (limited to 'string.c')
-rw-r--r--string.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/string.c b/string.c
index f53625053c..4f1543f6e2 100644
--- a/string.c
+++ b/string.c
@@ -6689,10 +6689,7 @@ rb_str_clear(VALUE str)
* call-seq:
* chr -> string
*
- * Returns a string containing the first character of +self+:
- *
- * s = 'foo' # => "foo"
- * s.chr # => "f"
+ * :include: doc/string/chr.rdoc
*
*/