Class: AbstractCoreTap Abstract
Overview
It cannot be directly instantiated. Subclasses must implement the abstract
methods below.
Direct Known Subclasses
Constant Summary
Constants inherited from Tap
Tap::HOMEBREW_TAP_AUDIT_EXCEPTIONS_DIR, Tap::HOMEBREW_TAP_CASK_RENAMES_FILE, Tap::HOMEBREW_TAP_FORMULA_RENAMES_FILE, Tap::HOMEBREW_TAP_JSON_FILES, Tap::HOMEBREW_TAP_MIGRATIONS_FILE, Tap::HOMEBREW_TAP_PYPI_FORMULA_MAPPINGS, Tap::HOMEBREW_TAP_STYLE_EXCEPTIONS_DIR, Tap::TAP_DIRECTORY, Tap::TAP_MIGRATIONS_STALE_SECONDS
Instance Attribute Summary
Attributes inherited from Tap
#full_name, #git_repo, #name, #path, #repo, #user
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Tap
#==, #audit_exception, #audit_exceptions, #cask_dir, #cask_files, cask_files_by_name, #cask_renames, #cask_tokens, #clear_cache, cmd_directories, #command_dir, #command_files, #config, #contents, #custom_remote?, default_cask_tap, #default_remote, each, fetch, #fix_remote_configuration, #formula_dir, #formula_files, formula_files_by_name, #formula_names, #formula_oldnames, #formula_renames, from_path, #git?, #git_branch, #git_head, #git_last_commit, #install, install_default_cask_tap_if_necessary, #installed?, #issues_url, #link_completions_and_manpages, names, #new_cask_path, #new_formula_path, #official?, #potential_formula_dirs, #private?, #pypi_formula_mappings, #relative_cask_path, #remote, #remote_repo, #repo_var, #shallow?, #style_exceptions, #tap_migrations, #to_hash, #to_s, #uninstall, untapped_official_taps
Methods included from Cachable
Class Method Details
.ensure_installed! ⇒ void
This method returns an undefined value.
944 945 946 |
# File 'tap.rb', line 944 def self.ensure_installed! instance.ensure_installed! end |
.instance ⇒ T.attached_class
931 932 933 |
# File 'tap.rb', line 931 def self.instance @instance ||= T.unsafe(self).new end |
Instance Method Details
#ensure_installed! ⇒ void
This method returns an undefined value.
936 937 938 939 940 941 |
# File 'tap.rb', line 936 def ensure_installed! return unless Homebrew::EnvConfig.no_install_from_api? return if Homebrew::EnvConfig.automatically_set_no_install_from_api? super end |