mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Suppress warning: uninitialized variable [ruby-core:50470] [Bug #7494]
Conditional operator is required to return true or false. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									f68ab20044
								
							
						
					
					
						commit
						51ee08fd71
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -984,7 +984,7 @@ module Net   #:nodoc:
 | 
			
		|||
    class << HTTP
 | 
			
		||||
      # returns true if self is a class which was created by HTTP::Proxy.
 | 
			
		||||
      def proxy_class?
 | 
			
		||||
        @is_proxy_class
 | 
			
		||||
        defined?(@is_proxy_class) ? @is_proxy_class : false
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      # Address of proxy host. If Net::HTTP does not use a proxy, nil.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue