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 ⇒ Pathname readonly private
- #keg ⇒ Keg readonly private
- #src ⇒ Pathname readonly private
Instance Method Summary collapse
- #initialize(keg, src, dst, cause) ⇒ void constructor private
Constructor Details
#initialize(keg, src, dst, cause) ⇒ void
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.
35 36 37 38 39 40 41 42 |
# File 'keg.rb', line 35 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 ⇒ Pathname (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.
32 33 34 |
# File 'keg.rb', line 32 def dst @dst end |
#keg ⇒ Keg (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.
29 30 31 |
# File 'keg.rb', line 29 def keg @keg end |
#src ⇒ Pathname (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.
32 33 34 |
# File 'keg.rb', line 32 def src @src end |