Exception: Cask::CaskQuarantineError Private
- Defined in:
- cask/exceptions.rb
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 during quarantining of a file.
Direct Known Subclasses
Instance Attribute Summary collapse
- #path ⇒ String, Pathname readonly private
- #reason ⇒ String readonly private
Instance Method Summary collapse
- #initialize(path, reason) ⇒ void constructor private
Constructor Details
#initialize(path, reason) ⇒ 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.
212 213 214 215 216 217 |
# File 'cask/exceptions.rb', line 212 def initialize(path, reason) super() @path = path @reason = reason end |
Instance Attribute Details
#path ⇒ String, 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.
206 207 208 |
# File 'cask/exceptions.rb', line 206 def path @path end |
#reason ⇒ String (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.
209 210 211 |
# File 'cask/exceptions.rb', line 209 def reason @reason end |