Exception: Gem::Package::FormatError
- Defined in:
- lib/rubygems/package.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(message, path = nil) ⇒ FormatError
constructor
A new instance of FormatError.
Constructor Details
#initialize(message, path = nil) ⇒ FormatError
Returns a new instance of FormatError.
19 20 21 22 23 24 25 |
# File 'lib/rubygems/package.rb', line 19 def initialize , path = nil @path = path << " in #{path}" if path super end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
17 18 19 |
# File 'lib/rubygems/package.rb', line 17 def path @path end |