mirror of
				https://github.com/rest-client/rest-client.git
				synced 2022-11-09 13:49:40 -05:00 
			
		
		
		
	Declare an ivar via #initialize
This commit removes below interpreter warning.
* warning: instance variable @{ivar} not initialized
			
			
This commit is contained in:
		
							parent
							
								
									c67b6a95a4
								
							
						
					
					
						commit
						2559951fa0
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -85,6 +85,7 @@ module RestClient
 | 
			
		|||
 | 
			
		||||
    def initialize response = nil, initial_response_code = nil
 | 
			
		||||
      @response = response
 | 
			
		||||
      @message = nil
 | 
			
		||||
      @initial_response_code = initial_response_code
 | 
			
		||||
 | 
			
		||||
      # compatibility: this make the exception behave like a Net::HTTPResponse
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue