ruby-changes:59373
From: QuestionDriven <ko1@a...>
Date: Sun, 22 Dec 2019 23:02:06 +0900 (JST)
Subject: [ruby-changes:59373] 54be15f325 (master): [Doc] Fix sample in Encoding#names
https://git.ruby-lang.org/ruby.git/commit/?id=54be15f325 From 54be15f3256fd2dbb0d5d7962e9dfac2b87c797b Mon Sep 17 00:00:00 2001 From: QuestionDriven <QuestionDriven@g...> Date: Tue, 17 Dec 2019 07:11:02 +0000 Subject: [Doc] Fix sample in Encoding#names diff --git a/encoding.c b/encoding.c index ebc2852..69015cc 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) https://github.com/ruby/ruby/blob/trunk/encoding.c#L1174 * * 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) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/