1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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 2019-12-22 23:02:08 +09: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.
*
* Encoding::WINDOWS_31J.names #=> ["Windows-31J", "CP932", "csWindows31J"]
* Encoding::WINDOWS_31J.names #=> ["Windows-31J", "CP932", "csWindows31J", "SJIS", "PCK"]
*/
static VALUE
enc_names(VALUE self)