ruby-changes:53988
From: nobu <ko1@a...>
Date: Wed, 5 Dec 2018 10:19:27 +0900 (JST)
Subject: [ruby-changes:53988] nobu:r66208 (trunk): Fix documentation for Warning.warn [ci skip]
nobu 2018-12-05 10:19:23 +0900 (Wed, 05 Dec 2018) New Revision: 66208 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66208 Log: 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@g...> Modified files: trunk/error.c Index: error.c =================================================================== --- error.c (revision 66207) +++ error.c (revision 66208) @@ -147,9 +147,8 @@ ruby_deprecated_internal_feature(const c https://github.com/ruby/ruby/blob/trunk/error.c#L147 * 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/