Class: Cask::Artifact::Qlplugin

Inherits:
Moved show all
Defined in:
brew/Library/Homebrew/cask/artifact/qlplugin.rb

Instance Attribute Summary

Attributes inherited from Relocated

#source, #target

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, #summarize, #to_a

Methods inherited from AbstractArtifact

#<=>, #config, dirmethod, dsl_key, english_article, #initialize, read_script_arguments, #staged_path_join_executable, #to_s

Methods included from Predicable

#attr_predicate

Constructor Details

This class inherits a constructor from Cask::Artifact::Relocated

Class Method Details

.english_nameObject



8
9
10
# File 'brew/Library/Homebrew/cask/artifact/qlplugin.rb', line 8

def self.english_name
  "QuickLook Plugin"
end

Instance Method Details

#install_phase(**options) ⇒ Object



12
13
14
15
# File 'brew/Library/Homebrew/cask/artifact/qlplugin.rb', line 12

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

#uninstall_phase(**options) ⇒ Object



17
18
19
20
# File 'brew/Library/Homebrew/cask/artifact/qlplugin.rb', line 17

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