summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2024-01-02 19:19:12 -0500
committerPeter Zhu <peter@peterzhu.ca>2024-01-02 19:19:12 -0500
commit5aba5f0454d8a7950963e7d11031d03483764c4f (patch)
treeb8d54c652abfbbff0fbcddfe3fed6b91f24fcd4e /string.c
parent8916b81bf434fc50bb9ce912a3dd468d784ca737 (diff)
[DOC] Add parentheses in call-seq for String#include?
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 b770daf681..023545bace 100644
--- a/string.c
+++ b/string.c
@@ -6501,7 +6501,7 @@ rb_str_reverse_bang(VALUE str)
/*
* call-seq:
- * include? other_string -> true or false
+ * include?(other_string) -> true or false
*
* Returns +true+ if +self+ contains +other_string+, +false+ otherwise:
*