Method: Gem::SystemExitException#initialize
- Defined in:
- lib/rubygems/exceptions.rb
#initialize(exit_code) ⇒ SystemExitException
Creates a new SystemExitException with the given exit_code
205 206 207 208 209 |
# File 'lib/rubygems/exceptions.rb', line 205 def initialize(exit_code) @exit_code = exit_code super "Exiting RubyGems with exit_code #{exit_code}" end |