[Doc] Fix sample in Encoding#names

This commit is contained in:
QuestionDriven 2019-12-17 07:11:02 +00:00 committed by Nobuyoshi Nakada
parent 9654241d5d
commit 54be15f325
Notes: git 2025-06-06 00:31:58 +00:00

View File

@ -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. * 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 static VALUE
enc_names(VALUE self) enc_names(VALUE self)