Exception: Gem::GemNotFoundException
Instance Attribute Summary (collapse)
-
- (Object) errors
readonly
Returns the value of attribute errors.
-
- (Object) name
readonly
Returns the value of attribute name.
-
- (Object) version
readonly
Returns the value of attribute version.
Instance Method Summary (collapse)
-
- (GemNotFoundException) initialize(msg, name = nil, version = nil, errors = nil)
constructor
A new instance of GemNotFoundException.
Constructor Details
- (GemNotFoundException) initialize(msg, name = nil, version = nil, errors = nil)
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
- (Object) errors (readonly)
Returns the value of attribute errors
48 49 50 |
# File 'lib/rubygems/exceptions.rb', line 48 def errors @errors end |
- (Object) name (readonly)
Returns the value of attribute name
48 49 50 |
# File 'lib/rubygems/exceptions.rb', line 48 def name @name end |
- (Object) version (readonly)
Returns the value of attribute version
48 49 50 |
# File 'lib/rubygems/exceptions.rb', line 48 def version @version end |