Class
Raised to indicate that a system exit should occur with the specified exit_code
Attributes
Read & Write
The exit code for the process
Class Methods
lib/rubygems/exceptions.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/rubygems/exceptions.rb, line 212
def initialize(exit_code)
@exit_code = exit_code
super "Exiting RubyGems with exit_code #{exit_code}"
end
Creates a new SystemExitException
with the given exit_code