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.
205 206 207 208 209 210 |
# File 'cask/exceptions.rb', line 205 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.
199 200 201 |
# File 'cask/exceptions.rb', line 199 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.
202 203 204 |
# File 'cask/exceptions.rb', line 202 def reason @reason end |