From 3aaf1f8d9630d0cb3e6f11a87eef6c503371da7c Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 11 Jan 2008 06:03:51 +0000 Subject: update rdoc: force_encoding doesn't accept nil. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'string.c') diff --git a/string.c b/string.c index c00fa3cd5..4b10503e8 100644 --- a/string.c +++ b/string.c @@ -5468,8 +5468,6 @@ 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 -- cgit