Class: Cask::CaskLoader::FromDefaultTapPathLoader Private
- Inherits:
-
FromTapPathLoader
- Object
- AbstractContentLoader
- FromPathLoader
- FromTapPathLoader
- Cask::CaskLoader::FromDefaultTapPathLoader
- Defined in:
- cask/cask_loader.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.
Loads a cask from the default tap path.
Instance Attribute Summary
Attributes inherited from FromPathLoader
Attributes inherited from AbstractContentLoader
Class Method Summary collapse
-
.can_load?(ref) ⇒ Boolean
private
Instance Method Summary collapse
-
#initialize(ref) ⇒ FromDefaultTapPathLoader
constructor
private
A new instance of FromDefaultTapPathLoader.
Methods inherited from FromPathLoader
Methods included from ILoader
Constructor Details
#initialize(ref) ⇒ FromDefaultTapPathLoader
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 FromDefaultTapPathLoader.
211 212 213 |
# File 'cask/cask_loader.rb', line 211 def initialize(ref) super CaskLoader.default_path(ref) end |
Class Method Details
.can_load?(ref) ⇒ Boolean
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.
207 208 209 |
# File 'cask/cask_loader.rb', line 207 def self.can_load?(ref) super CaskLoader.default_path(ref) end |