class Pod::Command::Cache

Public Class Methods

new(argv) click to toggle source
Calls superclass method Pod::Command::new
# File lib/cocoapods/command/cache.rb, line 16
def initialize(argv)
  @cache = Downloader::Cache.new(Config.instance.cache_root + 'Pods')
  super
end

Private Instance Methods

pod_type(pod_cache_descriptor) click to toggle source
# File lib/cocoapods/command/cache.rb, line 23
def pod_type(pod_cache_descriptor)
  pod_cache_descriptor[:release] ? 'Release' : 'External'
end