Class: Cask::Artifact::ShellCompletion Private
- Inherits:
-
Symlinked
- Object
- AbstractArtifact
- Relocated
- Symlinked
- Cask::Artifact::ShellCompletion
- Defined in:
- cask/artifact/shellcompletion.rb
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.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from AbstractArtifact
Class Method Summary collapse
Instance Method Summary collapse
- #resolve_target(_) ⇒ Pathname private
Methods inherited from Symlinked
english_description, #install_phase, link_type_english_name, #summarize_installed, #uninstall_phase
Methods included from OS::Linux::Cask::Artifact::Symlinked
Methods included from OS::Mac::Cask::Artifact::Symlinked
Methods inherited from Relocated
#initialize, #source, #summarize, #target, #to_a
Methods inherited from AbstractArtifact
#config, dirmethod, dsl_key, english_article, english_name, #initialize, read_script_arguments, #staged_path_join_executable, #summarize, #to_args
Constructor Details
This class inherits a constructor from Cask::Artifact::Relocated
Class Method Details
.from_args(cask, source) ⇒ ShellCompletion
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.
10 11 12 |
# File 'cask/artifact/shellcompletion.rb', line 10 def self.from_args(cask, source) new(cask, source) end |
Instance Method Details
#resolve_target(_) ⇒ Pathname
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.
15 16 17 |
# File 'cask/artifact/shellcompletion.rb', line 15 def resolve_target(_) raise CaskInvalidError, "Shell completion without shell info" end |