Class: GemFast::NoUnzipCurlDownloadStrategy
- Inherits:
-
CurlDownloadStrategy
- Object
- AbstractDownloadStrategy
- CurlDownloadStrategy
- GemFast::NoUnzipCurlDownloadStrategy
- Defined in:
- lib/gem-fast/remote_fetcher.rb
Overview
Use this strategy to download but not unzip a file. Useful for installing jars.
Instance Attribute Summary
Attributes inherited from CurlDownloadStrategy
Instance Method Summary collapse
Methods inherited from CurlDownloadStrategy
#_fetch, #cached_location, #fetch, #initialize
Methods inherited from AbstractDownloadStrategy
#expand_safe_system_args, #initialize, #quiet_safe_system
Methods included from Util
#curl, #not_install_curl, #safe_system, #system
Constructor Details
This class inherits a constructor from GemFast::CurlDownloadStrategy
Instance Method Details
#stage ⇒ Object
161 162 163 |
# File 'lib/gem-fast/remote_fetcher.rb', line 161 def stage FileUtils.cp @tarball_path, File.basename(@url) end |