зеркало из https://github.com/github/ruby.git
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:
Родитель
e7fad40cf2
Коммит
8748fe7cf0
5
error.c
5
error.c
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче