Exception: Gem::SystemExitException

Inherits:
SystemExit
  • Object
show all
Defined in:
lib/rubygems/exceptions.rb

Overview

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

Instance Method Summary collapse

Constructor Details

#initialize(exit_code) ⇒ SystemExitException

Creates a new SystemExitException with the given exit_code



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

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