Exception: Gem::MockGemUi::TermError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Gem::MockGemUi::TermError
- Defined in:
- lib/rubygems/mock_gem_ui.rb
Instance Attribute Summary collapse
-
#exit_code ⇒ Object
readonly
Returns the value of attribute exit_code.
Instance Method Summary collapse
-
#initialize(exit_code) ⇒ TermError
constructor
A new instance of TermError.
Constructor Details
#initialize(exit_code) ⇒ TermError
Returns a new instance of TermError.
25 26 27 28 |
# File 'lib/rubygems/mock_gem_ui.rb', line 25 def initialize(exit_code) super @exit_code = exit_code end |
Instance Attribute Details
#exit_code ⇒ Object (readonly)
Returns the value of attribute exit_code
23 24 25 |
# File 'lib/rubygems/mock_gem_ui.rb', line 23 def exit_code @exit_code end |