mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Fix rdoc for String#rstrip!, lstrip! [ci skip]
* string.c (rb_str_lstrip_bang, rb_str_rstrip_bang): [DOC] Fix ruby-doc comments for String#rstrip! and lstrip!. It looks like dropped bang. [Fix GH-1175] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									edea151a4b
								
							
						
					
					
						commit
						2a4729a40d
					
				
					 2 changed files with 10 additions and 2 deletions
				
			
		|  | @ -1,3 +1,9 @@ | ||||||
|  | Sun Dec 27 18:08:15 2015  Kuniaki IGARASHI  <igaiga@gmail.com> | ||||||
|  | 
 | ||||||
|  | 	* string.c (rb_str_lstrip_bang, rb_str_rstrip_bang): [DOC] Fix | ||||||
|  | 	  ruby-doc comments for String#rstrip! and lstrip!.  It looks like | ||||||
|  | 	  dropped bang.  [Fix GH-1175] | ||||||
|  | 
 | ||||||
| Sun Dec 27 15:14:20 2015  Eric Wong  <e@80x24.org> | Sun Dec 27 15:14:20 2015  Eric Wong  <e@80x24.org> | ||||||
| 
 | 
 | ||||||
| 	* io.c (io_getpartial): remove unused kwarg from template | 	* io.c (io_getpartial): remove unused kwarg from template | ||||||
|  |  | ||||||
							
								
								
									
										6
									
								
								string.c
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								string.c
									
										
									
									
									
								
							|  | @ -7684,7 +7684,8 @@ lstrip_offset(VALUE str, const char *s, const char *e, rb_encoding *enc) | ||||||
|  * |  * | ||||||
|  *  Refer to <code>strip</code> for the definition of whitespace. |  *  Refer to <code>strip</code> for the definition of whitespace. | ||||||
|  * |  * | ||||||
|  *     "  hello  ".lstrip   #=> "hello  " |  *     "  hello  ".lstrip!  #=> "hello  " | ||||||
|  |  *     "hello  ".lstrip!    #=> nil | ||||||
|  *     "hello".lstrip!      #=> nil |  *     "hello".lstrip!      #=> nil | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
|  | @ -7773,7 +7774,8 @@ rstrip_offset(VALUE str, const char *s, const char *e, rb_encoding *enc) | ||||||
|  * |  * | ||||||
|  *  Refer to <code>strip</code> for the definition of whitespace. |  *  Refer to <code>strip</code> for the definition of whitespace. | ||||||
|  * |  * | ||||||
|  *     "  hello  ".rstrip   #=> "  hello" |  *     "  hello  ".rstrip!  #=> "  hello" | ||||||
|  |  *     "  hello".rstrip!    #=> nil | ||||||
|  *     "hello".rstrip!      #=> nil |  *     "hello".rstrip!      #=> nil | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 nobu
						nobu