Exception: Gem::MockGemUi::TermError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rubygems/mock_gem_ui.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_codeObject (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