Exception: Gem::GemNotFoundException
- Defined in:
- lib/rubygems/exceptions.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(msg, name = nil, version = nil, errors = nil) ⇒ GemNotFoundException
constructor
A new instance of GemNotFoundException.
Constructor Details
#initialize(msg, name = nil, version = nil, errors = nil) ⇒ GemNotFoundException
Returns a new instance of GemNotFoundException.
41 42 43 44 45 46 |
# File 'lib/rubygems/exceptions.rb', line 41 def initialize(msg, name=nil, version=nil, errors=nil) super msg @name = name @version = version @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
48 49 50 |
# File 'lib/rubygems/exceptions.rb', line 48 def errors @errors end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
48 49 50 |
# File 'lib/rubygems/exceptions.rb', line 48 def name @name end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
48 49 50 |
# File 'lib/rubygems/exceptions.rb', line 48 def version @version end |