Class: PodPrebuild::CacheFetcher
- Inherits:
-
CommandExecutor
- Object
- CommandExecutor
- PodPrebuild::CacheFetcher
- Defined in:
- lib/command/executor/fetcher.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ CacheFetcher
constructor
A new instance of CacheFetcher.
- #run ⇒ Object
Methods inherited from CommandExecutor
Constructor Details
#initialize(options) ⇒ CacheFetcher
Returns a new instance of CacheFetcher.
6 7 8 9 |
# File 'lib/command/executor/fetcher.rb', line 6 def initialize() super() @cache_branch = [:cache_branch] end |
Instance Method Details
#run ⇒ Object
11 12 13 14 15 16 |
# File 'lib/command/executor/fetcher.rb', line 11 def run Pod::UI.step("Fetching cache") do fetch_cache(@config.cache_repo, @cache_branch, @config.cache_path) unzip_cache end end |