123456789_123456789_123456789_123456789_123456789_

Exception: Gem::SystemExitException

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, SystemExit
Instance Chain:
self, SystemExit
Inherits: SystemExit
  • Object
Defined in: lib/rubygems/exceptions.rb

Overview

Raised to indicate that a system exit should occur with the specified exit_code

Class Method Summary

Instance Method Summary

Constructor Details

.new(exit_code) ⇒ SystemExitException

Creates a new SystemExitException with the given #exit_code

[ GitHub ]

  
# File 'lib/rubygems/exceptions.rb', line 239

def initialize(exit_code)
  super exit_code, "Exiting RubyGems with exit_code #{exit_code}"
end

Instance Method Details

#exit_code

The exit code for the process

[ GitHub ]

  
# File 'lib/rubygems/exceptions.rb', line 234

alias_method :exit_code, :status