Class: Cask::CaskLoader::AbstractContentLoader Abstract Private

Inherits:
Object
  • Object
show all
Extended by:
T::Helpers
Includes:
ILoader
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.

This class is abstract.

It cannot be directly instantiated. Subclasses must implement the abstract methods below.

Loads a cask from a string.

Direct Known Subclasses

FromContentLoader, FromPathLoader

Instance Attribute Summary collapse

Method Summary

Methods included from ILoader

#load

Instance Attribute Details

#contentString (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.

Returns:



32
33
34
# File 'cask/cask_loader.rb', line 32

def content
  @content
end

#tapTap? (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.

Returns:



35
36
37
# File 'cask/cask_loader.rb', line 35

def tap
  @tap
end