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, source = nil)  ⇒ FormatError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of FormatError.
 
Constructor Details
#initialize(message, source = nil) ⇒ FormatError
Returns a new instance of FormatError.
      58 59 60 61 62 63 64 65 66  | 
    
      # File 'lib/rubygems/package.rb', line 58 def initialize(, source = nil) if source @path = source.path = + " in #{path}" if path end super end  | 
  
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
      56 57 58  | 
    
      # File 'lib/rubygems/package.rb', line 56 def path @path end  |