Class: Debian::Build::ZipSourceProvider
- Inherits:
-
Object
- Object
- Debian::Build::ZipSourceProvider
- Includes:
- HelperMethods, FileUtils
- Defined in:
- lib/debian/build/source_providers.rb
Defined Under Namespace
Classes: PackageRetriever
Instance Method Summary collapse
-
#initialize(url) ⇒ ZipSourceProvider
constructor
A new instance of ZipSourceProvider.
- #retrieve(package) ⇒ Object
Methods included from HelperMethods
Constructor Details
#initialize(url) ⇒ ZipSourceProvider
Returns a new instance of ZipSourceProvider.
63 64 65 |
# File 'lib/debian/build/source_providers.rb', line 63 def initialize(url) @url = url end |
Instance Method Details
#retrieve(package) ⇒ Object
67 68 69 |
# File 'lib/debian/build/source_providers.rb', line 67 def retrieve(package) PackageRetriever.new(@url, package).retrieve end |