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:



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

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:



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

def tap
  @tap
end