* encoding.c (enc_find): fixed rdoc formatting.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-10-28 08:02:02 +00:00
Родитель 7a884fe466
Коммит feb34709fe
1 изменённых файлов: 7 добавлений и 6 удалений

Просмотреть файл

@ -987,14 +987,15 @@ enc_list(VALUE klass)
* Names which this method accept are encoding names and aliases
* including following special aliases
*
* * external (default external encoding)
* * internal (default internal encoding)
* * locale (locale encoding)
* * filesystem (filesystem encoding)
* "external":: default external encoding
* "internal":: default internal encoding
* "locale":: locale encoding
* "filesystem":: filesystem encoding
*
* An ArgumentError is raised when no encoding with <i>name</i>.
* Only +Encoding.find("internal")+ however returns nil when no encoding named "internal",
* in other words, when Ruby has no default internal encoding.
* Only <code>Encoding.find("internal")</code> however returns nil
* when no encoding named "internal", in other words, when Ruby has no
* default internal encoding.
*/
static VALUE
enc_find(VALUE klass, VALUE enc)