aboutsummaryrefslogtreecommitdiffstats
path: root/encoding.c
diff options
context:
space:
mode:
authorQuestionDriven <QuestionDriven@gmail.com>2019-12-17 07:11:02 +0000
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-22 23:01:45 +0900
commit54be15f3256fd2dbb0d5d7962e9dfac2b87c797b (patch)
treea4ddadbc97f7824774fddb35902dcda05c514569 /encoding.c
parent9654241d5d5717b7cd6ddedb6c192e971f9d473a (diff)
downloadruby-54be15f3256fd2dbb0d5d7962e9dfac2b87c797b.tar.gz
[Doc] Fix sample in Encoding#names
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding.c b/encoding.c
index ebc2852f06..69015cc8fd 100644
--- a/encoding.c
+++ b/encoding.c
@@ -1174,7 +1174,7 @@ enc_names_i(st_data_t name, st_data_t idx, st_data_t args)
*
* Returns the list of name and aliases of the encoding.
*
- * Encoding::WINDOWS_31J.names #=> ["Windows-31J", "CP932", "csWindows31J"]
+ * Encoding::WINDOWS_31J.names #=> ["Windows-31J", "CP932", "csWindows31J", "SJIS", "PCK"]
*/
static VALUE
enc_names(VALUE self)