diff --git a/encoding.c b/encoding.c index 97110c6c14..cab82de514 100644 --- a/encoding.c +++ b/encoding.c @@ -726,13 +726,17 @@ enc_based_encoding(VALUE self) * Returns the list of loaded encodings. * * Encoding.list - * => [#, #, #, #, #] + * => [#, #, + * #, #, + * #] * * Encoding.find("US-ASCII") - * #=> # + * => # * * Encoding.list - * => [#, #, #, #, #, #] + * => [#, #, + * #, #, + * #, #] * */ static VALUE @@ -751,13 +755,15 @@ enc_list(VALUE klass) /* * call-seq: - * Encoding.find(symbol) => enc * Encoding.find(string) => enc + * Encoding.find(symbol) => enc * * Search the encoding with specified name. * name should be a string or symbol. * * Encoding.find("US-ASCII") => # + * Encoding.find(:Shift_JIS) => # + * */ static VALUE enc_find(VALUE klass, VALUE enc)