Skip to Content Skip to Search

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

Methods
N

Class Public methods

new(exit_code)

Creates a new SystemExitException with the given exit_code

# File ruby/lib/rubygems/exceptions.rb, line 240
def initialize(exit_code)
  super exit_code, "Exiting RubyGems with exit_code #{exit_code}"
end