Class: Debian::Build::ZipSourceProvider

Inherits:
Object
  • Object
show all
Includes:
HelperMethods, FileUtils
Defined in:
lib/debian/build/source_providers.rb

Defined Under Namespace

Classes: PackageRetriever

Instance Method Summary collapse

Methods included from HelperMethods

#get, #sudo, #uncompress

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