Exception: Gem::GemNotFoundException

Inherits:
Exception show all
Defined in:
lib/rubygems/exceptions.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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