Exception: Gem::Package::FormatError
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Error ,
::Gem::Exception ,
RuntimeError
|
|
Instance Chain:
self,
Error ,
::Gem::Exception ,
RuntimeError
|
|
Inherits: |
Gem::Package::Error
|
Defined in: | lib/rubygems/package.rb |
Class Method Summary
- .new(message, source = nil) ⇒ FormatError constructor
Instance Attribute Summary
- #path readonly
Constructor Details
.new(message, source = nil) ⇒ FormatError
# File 'lib/rubygems/package.rb', line 59
def initialize(, source = nil) if source @path = source.is_a?(String) ? source : source.path += " in #{path}" if path end super end
Instance Attribute Details
#path (readonly)
[ GitHub ]# File 'lib/rubygems/package.rb', line 57
attr_reader :path