aboutsummaryrefslogtreecommitdiffstats
path: root/encoding.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-20 22:09:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-20 22:09:55 +0000
commitec1843caed98a12f5f5caa474405aac6a6e34e94 (patch)
tree688114b876358676792ba6fa10cf73379b9ec96a /encoding.c
parentb3eed82f2701d0d7a885cd11b55cca94acd29a18 (diff)
downloadruby-ec1843caed98a12f5f5caa474405aac6a6e34e94.tar.gz
encoding.c: fix rdoc [ci skip]
* encoding.c (enc_find): [DOC] never accepted a symbol. [ruby-dev:48308] [Bug #9966] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/encoding.c b/encoding.c
index 62033cdc2d..4ee36d9111 100644
--- a/encoding.c
+++ b/encoding.c
@@ -1166,13 +1166,11 @@ enc_list(VALUE klass)
/*
* call-seq:
* Encoding.find(string) -> enc
- * Encoding.find(symbol) -> enc
*
* Search the encoding with specified <i>name</i>.
- * <i>name</i> should be a string or symbol.
+ * <i>name</i> should be a string.
*
* Encoding.find("US-ASCII") #=> #<Encoding:US-ASCII>
- * Encoding.find(:Shift_JIS) #=> #<Encoding:Shift_JIS>
*
* Names which this method accept are encoding names and aliases
* including following special aliases