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:
parent
e7fad40cf2
commit
8748fe7cf0
5
error.c
5
error.c
@ -147,9 +147,8 @@ ruby_deprecated_internal_feature(const char *func)
|
|||||||
* call-seq:
|
* call-seq:
|
||||||
* warn(msg) -> nil
|
* warn(msg) -> nil
|
||||||
*
|
*
|
||||||
* Writes warning message +msg+ to $stderr, followed by a newline
|
* Writes warning message +msg+ to $stderr. This method is called by
|
||||||
* if the message does not end in a newline. This method is called
|
* Ruby for all emitted warnings.
|
||||||
* by Ruby for all emitted warnings.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user