summaryrefslogtreecommitdiffstats
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
commite8e8989fee0c62b0ee0a6376e6a80008f0a76a67 (patch)
treeb061a85e8e88bf086f5b96d3633009d3ec33ded2 /encoding.c
parent84701e831d614f0c273444c853e6dde40346a3a3 (diff)
downloadruby-e8e8989fee0c62b0ee0a6376e6a80008f0a76a67.tar.gz
ruby-e8e8989fee0c62b0ee0a6376e6a80008f0a76a67.tar.xz
ruby-e8e8989fee0c62b0ee0a6376e6a80008f0a76a67.zip
* encoding.c (enc_find): fixed rdoc formatting.
git-svn-id: http://svn.ruby-lang.org/repos/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 45c63927e..fa7937ed2 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)