Exception: Keg::LinkError Private
Overview
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Error for when a keg cannot be linked.
Direct Known Subclasses
Instance Attribute Summary collapse
- #dst ⇒ Object readonly private
 - #keg ⇒ Object readonly private
 - #src ⇒ Object readonly private
 
Instance Method Summary collapse
- 
  
    
      #initialize(keg, src, dst, cause)  ⇒ LinkError 
    
    
  
  
  
    constructor
  
  
  
  
  
  private
  
    
A new instance of LinkError.
 
Constructor Details
#initialize(keg, src, dst, cause) ⇒ LinkError
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Returns a new instance of LinkError.
      29 30 31 32 33 34 35 36  | 
    
      # File 'keg.rb', line 29 def initialize(keg, src, dst, cause) @src = src @dst = dst @keg = keg @cause = cause super(cause.) set_backtrace(cause.backtrace) end  | 
  
Instance Attribute Details
#dst ⇒ Object (readonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
      27 28 29  | 
    
      # File 'keg.rb', line 27 def dst @dst end  | 
  
#keg ⇒ Object (readonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
      27 28 29  | 
    
      # File 'keg.rb', line 27 def keg @keg end  | 
  
#src ⇒ Object (readonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
      27 28 29  | 
    
      # File 'keg.rb', line 27 def src @src end  |