Class: Pod::Downloader::Cache

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods_plugin.rb

Instance Method Summary collapse

Constructor Details

#initialize(root) ⇒ Cache

override



9
10
11
12
13
# File 'lib/cocoapods_plugin.rb', line 9

def initialize(root)
  @root = Pathname.new(Dir.home) + "Library/Caches/CocoaPods/#{Pod::VERSION}" # this line is added by plugin
  #ensure_matching_version # this line is deleted by plugin
  UI.message "Using pods cache of path: #{@root} (by cocoapods-keep-multiversion-cache)" # this line is added by plugin
end