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 Attribute Summary

Constructor Details

.new(exit_code) ⇒ SystemExitException

Creates a new SystemExitException with the given #exit_code

[ GitHub ]

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

def initialize(exit_code)
  @exit_code = exit_code

  super "Exiting RubyGems with exit_code #{exit_code}"
end

Instance Attribute Details

#exit_code (rw)

The exit code for the process

[ GitHub ]

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

attr_accessor :exit_code