Class: Hbc::Artifact::Qlplugin

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

Instance Attribute Summary

Attributes inherited from Relocated

#source, #target

Attributes inherited from AbstractArtifact

#cask, #config

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

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

Methods included from Predicable

#attr_predicate

Constructor Details

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

Class Method Details

.english_nameObject



6
7
8
# File 'Library/Homebrew/cask/lib/hbc/artifact/qlplugin.rb', line 6

def self.english_name
  "QuickLook Plugin"
end

Instance Method Details

#install_phase(**options) ⇒ Object



10
11
12
13
# File 'Library/Homebrew/cask/lib/hbc/artifact/qlplugin.rb', line 10

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

#uninstall_phase(**options) ⇒ Object



15
16
17
18
# File 'Library/Homebrew/cask/lib/hbc/artifact/qlplugin.rb', line 15

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