diff options
author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2022-04-02 14:26:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-02 14:26:49 -0500 |
commit | 7be4d900f0e14e6093c726fbc4416560fd56c931 (patch) | |
tree | 73f6c240485b3289bd7ea0fbc8b128cd6cd2fc10 /string.c | |
parent | 4d2623ead2b526fda0dd1e919d9d1dd1d159f57e (diff) | |
download | ruby-7be4d900f0e14e6093c726fbc4416560fd56c931.tar.gz |
[DOC] Enhanced RDoc for String (#5751)
Adds to doc for String.new, also making it compliant with documentation_guide.rdoc.
Fixes some broken links in io.c (that I failed to correct yesterday).
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 * |