mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	proc.c: [DOC] fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									6ecafe0c98
								
							
						
					
					
						commit
						4113b30356
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								proc.c
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								proc.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -3386,8 +3386,8 @@ rb_method_compose_to_right(VALUE self, VALUE g)
 | 
			
		|||
 *      ["Bob", "Jane"].map(&hi)    #=> ["Hi, Bob!", "Hi, Jane!"]
 | 
			
		||||
 *      ["Bob", "Jane"].map(&hey)   #=> ["Hey, Bob!", "Hey, Jane!"]
 | 
			
		||||
 *
 | 
			
		||||
 * Of Ruby the core classes, this method is implemented by Symbol,
 | 
			
		||||
 * Method and Hash.
 | 
			
		||||
 * Of the Ruby core classes, this method is implemented by Symbol,
 | 
			
		||||
 * Method, and Hash.
 | 
			
		||||
 *
 | 
			
		||||
 *      :to_s.to_proc.call(1)           #=> "1"
 | 
			
		||||
 *      [1, 2].map(&:to_s)              #=> ["1", "2"]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue