Module: Hbc::Locations::ClassMethods

Defined in:
Library/Homebrew/cask/lib/hbc/locations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#default_tapObject



20
21
22
# File 'Library/Homebrew/cask/lib/hbc/locations.rb', line 20

def default_tap
  @default_tap ||= Tap.fetch("caskroom", "homebrew-cask")
end

Instance Method Details

#cacheObject



14
15
16
# File 'Library/Homebrew/cask/lib/hbc/locations.rb', line 14

def cache
  @cache ||= HOMEBREW_CACHE.join("Cask")
end

#caskroomObject



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

def caskroom
  @caskroom ||= HOMEBREW_PREFIX.join("Caskroom")
end

#pre_mavericks_accessibility_dotfileObject



28
29
30
# File 'Library/Homebrew/cask/lib/hbc/locations.rb', line 28

def pre_mavericks_accessibility_dotfile
  @pre_mavericks_accessibility_dotfile ||= Pathname.new("/private/var/db/.AccessibilityAPIEnabled")
end

#tcc_dbObject



24
25
26
# File 'Library/Homebrew/cask/lib/hbc/locations.rb', line 24

def tcc_db
  @tcc_db ||= Pathname.new("/Library/Application Support/com.apple.TCC/TCC.db")
end