summaryrefslogtreecommitdiff
path: root/encoding.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-28 08:02:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-28 08:02:02 +0000
commitfeb34709fe96f4841d79e5547963d4650da5afc7 (patch)
treeb061a85e8e88bf086f5b96d3633009d3ec33ded2 /encoding.c
parent7a884fe4660746a085bc999c9c35e2e1833ae136 (diff)
* encoding.c (enc_find): fixed rdoc formatting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/encoding.c b/encoding.c
index 45c63927e8..fa7937ed2b 100644
--- a/encoding.c
+++ b/encoding.c
@@ -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)