In Files

  • ruby-3.1.2/lib/rubygems/exceptions.rb

Parent

Methods

Files

Class/Module Index [+]

Quicksearch

Gem::SystemExitException

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

Attributes

exit_code[RW]

The exit code for the process

Public Class Methods

new(exit_code) click to toggle source

Creates a new SystemExitException with the given exit_code

 
               # File ruby-3.1.2/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