Fix documentation for Warning.warn [ci skip]

Warning.warn does not add any newlines to the message argument.
[Bug #15379]

From: Olle Jonsson <olle.jonsson@gmail.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-12-05 01:19:23 +00:00
Родитель e7fad40cf2
Коммит 8748fe7cf0
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -147,9 +147,8 @@ ruby_deprecated_internal_feature(const char *func)
* call-seq:
* warn(msg) -> nil
*
* Writes warning message +msg+ to $stderr, followed by a newline
* if the message does not end in a newline. This method is called
* by Ruby for all emitted warnings.
* Writes warning message +msg+ to $stderr. This method is called by
* Ruby for all emitted warnings.
*/
static VALUE