summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/string.c b/string.c
index 401fcca2fc..f6987459ed 100644
--- a/string.c
+++ b/string.c
@@ -1813,9 +1813,7 @@ rb_ec_str_resurrect(struct rb_execution_context_struct *ec, VALUE str)
/*
*
* call-seq:
- * String.new(string = '') -> new_string
- * String.new(string = '', encoding: encoding) -> new_string
- * String.new(string = '', capacity: size) -> new_string
+ * String.new(string = '', **opts) -> new_string
*
* :include: doc/string/new.rdoc
*