mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update force_encoding document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1ed2aad958
commit
486dd97e74
1 changed files with 2 additions and 0 deletions
2
string.c
2
string.c
|
@ -5352,6 +5352,8 @@ rb_str_setter(VALUE val, ID id, VALUE *var)
|
|||
* str.force_encoding(encoding) => str
|
||||
*
|
||||
* Changes the encoding to +encoding+ and returns self.
|
||||
*
|
||||
* If nil is given as +encoding+, "ASCII-8BIT" is used.
|
||||
*/
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Reference in a new issue