Sha256: da5a0fb771ae80b80510e52007336b69cf7de89629708ec71bea57d8f2c42734
Contents?: true
Size: 503 Bytes
Versions: 4
Compression:
Stored size: 503 Bytes
Contents
module LgPodPlugin class FileManager def self.cache_director Pathname(File.join(Dir.home, "Library/Caches")) end # 本地下载路径 ~Library/Caches/LgPodPlugin def self.download_director cache_path = self.cache_director.join("LgPodPlugin") unless cache_path.exist? # pp "文件路径不存在" cache_path.mkdir(0700) end cache_path end def self.download_pod_path(name) download_director.join(name) end end end
Version data entries
4 entries across 4 versions & 1 rubygems