Exception: Gem::SystemExitException
- Inherits:
 - 
      SystemExit
      
        
- Object
 - SystemExit
 - Gem::SystemExitException
 
 
- Defined in:
 - lib/rubygems/exceptions.rb
 
Overview
Raised to indicate that a system exit should occur with the specified exit_code
Instance Attribute Summary collapse
- 
  
    
      #exit_code  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The exit code for the process.
 
Instance Method Summary collapse
- 
  
    
      #initialize(exit_code)  ⇒ SystemExitException 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
Creates a new SystemExitException with the given
exit_code. 
Constructor Details
#initialize(exit_code) ⇒ SystemExitException
Creates a new SystemExitException with the given exit_code
      229 230 231 232 233  | 
    
      # File 'lib/rubygems/exceptions.rb', line 229 def initialize(exit_code) @exit_code = exit_code super exit_code, "Exiting RubyGems with exit_code #{exit_code}" end  | 
  
Instance Attribute Details
#exit_code ⇒ Object
The exit code for the process
      224 225 226  | 
    
      # File 'lib/rubygems/exceptions.rb', line 224 def exit_code @exit_code end  |