Skip to content

Commit

Permalink
* encoding.c (enc_find): fixed rdoc formatting.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Oct 28, 2009
1 parent 7a884fe commit feb3470
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions encoding.c
Expand Up @@ -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)
Expand Down

0 comments on commit feb3470

Please sign in to comment.