Class: Cask::Artifact::Qlplugin Private

Inherits:
Moved show all
Defined in:
cask/artifact/qlplugin.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.

Artifact corresponding to the qlplugin stanza.

Instance Attribute Summary

Attributes inherited from AbstractArtifact

#cask

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Moved

english_description, #summarize_installed

Methods inherited from Relocated

from_args, #initialize, #resolve_target, #source, #summarize, #target, #to_a

Methods inherited from AbstractArtifact

#config, dirmethod, dsl_key, english_article, #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

.english_nameString

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:



11
12
13
# File 'cask/artifact/qlplugin.rb', line 11

def self.english_name
  "Quick Look Plugin"
end

Instance Method Details

#install_phase(**options) ⇒ Object

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
18
# File 'cask/artifact/qlplugin.rb', line 15

def install_phase(**options)
  super
  reload_quicklook(**options)
end

#uninstall_phase(**options) ⇒ Object

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.



20
21
22
23
# File 'cask/artifact/qlplugin.rb', line 20

def uninstall_phase(**options)
  super
  reload_quicklook(**options)
end