diff options
author | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-04 08:59:01 +0000 |
---|---|---|
committer | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-04 08:59:01 +0000 |
commit | 4e6daedc706b591073a8b361935fbe41183baaba (patch) | |
tree | d114cb6e31213ae540085c0e950a356139ba5335 /string.c | |
parent | 5c8edab967093118ceb6ac5e7a288c76875cbd25 (diff) |
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
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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). */ |