mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	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
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		
							
								
								
									
										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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue