Class: Cask::Artifact::KeyboardLayout Private

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

Instance Attribute Summary

Attributes inherited from AbstractArtifact

#cask

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, english_name, #initialize, read_script_arguments, #staged_path_join_executable, #summarize, #to_args, #to_s

Methods included from Attrable

#attr_predicate, #attr_rw

Constructor Details

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

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.



12
13
14
15
# File 'cask/artifact/keyboard_layout.rb', line 12

def install_phase(**options)
  super(**options)
  delete_keyboard_layout_cache(**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.



17
18
19
20
# File 'cask/artifact/keyboard_layout.rb', line 17

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