string.c: [DOC] Properly refer to keyword argument by its name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5c8edab967
commit
4e6daedc70
4
string.c
4
string.c
@ -1453,11 +1453,11 @@ rb_str_resurrect(VALUE str)
|
||||
*
|
||||
* Returns a new string object containing a copy of <i>str</i>.
|
||||
*
|
||||
* The optional <i>enc</i> argument specifies the encoding of the new string.
|
||||
* The optional <i>encoding</i> argument specifies the encoding of the new string.
|
||||
* If not specified, the encoding of <i>str</i> (or ASCII-8BIT, if <i>str</i>
|
||||
* is not specified) is used.
|
||||
*
|
||||
* The optional <i>size</i> argument specifies the size of internal buffer.
|
||||
* The optional <i>capacity</i> argument specifies the size of internal buffer.
|
||||
* This may improve performance, when the string will be concatenated many
|
||||
* times (and call many realloc).
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user