1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add rdoc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2009-01-15 13:47:47 +00:00
parent c157583627
commit 81bdf8a1f2

View file

@ -2889,7 +2889,7 @@ econv_s_search_convpath(int argc, VALUE *argv, VALUE klass)
} }
/* /*
* Check the existence of a convertsion path. * Check the existence of a conversion path.
* Returns the number of converters in the conversion path. * Returns the number of converters in the conversion path.
* result: >=0:success -1:failure * result: >=0:success -1:failure
*/ */
@ -3496,6 +3496,10 @@ econv_primitive_convert(int argc, VALUE *argv, VALUE self)
* If a conversion error occur, * If a conversion error occur,
* Encoding::UndefinedConversionError or * Encoding::UndefinedConversionError or
* Encoding::InvalidByteSequenceError is raised. * Encoding::InvalidByteSequenceError is raised.
* Encoding::Converter#convert doesn't supply methods to recover or restart
* from these exceptions.
* When you want to handle these conversion errors,
* use Encoding::Converter#primitive_convert.
* *
*/ */
static VALUE static VALUE