Class: Cask::Artifact::Mdimporter Private

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Artifact corresponding to the mdimporter stanza.

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, #uninstall_phase

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

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


12
13
14
# File 'Library/Homebrew/cask/artifact/mdimporter.rb', line 12

def self.english_name
  "Spotlight metadata importer"
end

Instance Method Details

#install_phase(**options) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


16
17
18
19
# File 'Library/Homebrew/cask/artifact/mdimporter.rb', line 16

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