Exception: 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.
21 22 23 24 |
# File 'lib/rubygems/mock_gem_ui.rb', line 21 def initialize(exit_code) super @exit_code = exit_code end |
Instance Attribute Details
#exit_code ⇒ Object (readonly)
Returns the value of attribute exit_code.
19 20 21 |
# File 'lib/rubygems/mock_gem_ui.rb', line 19 def exit_code @exit_code end |