diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-06 07:04:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-06 07:04:00 +0000 |
commit | c837fe405611cc24faa88f677bd186978fdc97ec (patch) | |
tree | f9b2e72099f1b193c0863cb5190102210180a536 /string.c | |
parent | 42bd9510870bf571d397c47289fd817cfae19ab9 (diff) | |
download | ruby-c837fe405611cc24faa88f677bd186978fdc97ec.tar.gz |
string.c: fix typo
* string.c (rb_str_ellipsize): [DOC] fix typo, "encoding" instead of
"encoded" which is probably a slip of the auto-completion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7846,7 +7846,7 @@ rb_str_is_ascii_only_p(VALUE str) * \pre _len_ must not be negative. * \post the length of the returned string in characters is less than or equal to _len_. * \post If the length of _str_ is less than or equal _len_, returns _str_ itself. - * \post the encoded of returned string is equal to the encoded of _str_. + * \post the encoding of returned string is equal to the encoding of _str_. * \post the class of returned string is equal to the class of _str_. * \note the length is counted in characters. */ |