mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Remove duplicated definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									aef7007477
								
							
						
					
					
						commit
						53e667a9eb
					
				
					 1 changed files with 0 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -1764,15 +1764,6 @@ class Vector
 | 
			
		|||
  end
 | 
			
		||||
  alias map collect
 | 
			
		||||
 | 
			
		||||
  #
 | 
			
		||||
  # Like Vector#collect2, but returns a Vector instead of an Array.
 | 
			
		||||
  #
 | 
			
		||||
  def map2(v, &block) # :yield: e1, e2
 | 
			
		||||
    return to_enum(:map2, v) unless block_given?
 | 
			
		||||
    els = collect2(v, &block)
 | 
			
		||||
    Vector.elements(els, false)
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  #
 | 
			
		||||
  # Returns the modulus (Pythagorean distance) of the vector.
 | 
			
		||||
  #   Vector[5,8,2].r => 9.643650761
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue