Class: PodPrebuild::CacheFetcher
- Inherits:
-
CommandExecutor
- Object
- CommandExecutor
- PodPrebuild::CacheFetcher
- Defined in:
- lib/command/executor/fetcher.rb
Instance Attribute Summary collapse
-
#cache_branch ⇒ Object
readonly
Returns the value of attribute cache_branch.
Instance Method Summary collapse
-
#initialize(options) ⇒ CacheFetcher
constructor
A new instance of CacheFetcher.
- #run ⇒ Object
Methods inherited from CommandExecutor
#git, #git_clone, #installer, #prepare_cache_dir, #use_local_cache?
Constructor Details
#initialize(options) ⇒ CacheFetcher
Returns a new instance of CacheFetcher.
9 10 11 12 |
# File 'lib/command/executor/fetcher.rb', line 9 def initialize() super() @cache_branch = [:cache_branch] end |
Instance Attribute Details
#cache_branch ⇒ Object (readonly)
Returns the value of attribute cache_branch.
7 8 9 |
# File 'lib/command/executor/fetcher.rb', line 7 def cache_branch @cache_branch end |