mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* remove trailing spaces.
This commit is contained in:
		
							parent
							
								
									8980b53a48
								
							
						
					
					
						commit
						7d30cd47c4
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -20,7 +20,7 @@ module DRb | ||||||
|       def add(obj) |       def add(obj) | ||||||
|         synchronize do |         synchronize do | ||||||
|           begin |           begin | ||||||
|             @map[obj] = self  |             @map[obj] = self | ||||||
|           rescue ArgumentError |           rescue ArgumentError | ||||||
|             @immutable[obj.__id__] = obj |             @immutable[obj.__id__] = obj | ||||||
|           end |           end | ||||||
|  | @ -30,7 +30,7 @@ module DRb | ||||||
| 
 | 
 | ||||||
|       def fetch(ref) |       def fetch(ref) | ||||||
|         synchronize do |         synchronize do | ||||||
|           @immutable.fetch(ref) {  |           @immutable.fetch(ref) { | ||||||
|             @map.each { |key, _| |             @map.each { |key, _| | ||||||
|               return key if key.__id__ == ref |               return key if key.__id__ == ref | ||||||
|             } |             } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 git
						git