Class: CoreTap

Inherits:
Tap
  • Object
show all
Defined in:
brew/Library/Homebrew/tap.rb,
brew/Library/Homebrew/extend/os/linux/tap.rb

Overview

A specialized Tap class for the core formulae.

Constant Summary

Constants inherited from Tap

Tap::TAP_DIRECTORY

Instance Attribute Summary

Attributes inherited from Tap

#full_name, #name, #path, #repo, #user

Class Method Summary collapse

Methods inherited from Tap

#==, #cask_dir, #cask_files, #clear_cache, cmd_directories, #command_dir, #command_file?, #command_files, #config, #contents, #custom_remote?, default_cask_tap, #default_remote, each, fetch, #formula_files, #formula_names, from_path, #git?, #git_branch, #git_head, #git_last_commit, #git_last_commit_date, #git_short_head, #install, #installed?, #issues_url, #link_completions_and_manpages, names, #official?, #potential_formula_dirs, #private?, #remote, #repo_var, #shallow?, #to_hash, #to_s, #version_string

Methods included from Cachable

#cache, #clear_cache

Class Method Details

.ensure_installed!Object



643
644
645
646
647
# File 'brew/Library/Homebrew/tap.rb', line 643

def self.ensure_installed!
  return if instance.installed?

  safe_system HOMEBREW_BREW_FILE, "tap", instance.name
end

.instanceObject



639
640
641
# File 'brew/Library/Homebrew/tap.rb', line 639

def self.instance
  @instance ||= new
end