Sha256: 465e951e5c9bebf298fb230ffc00f60a4e7bf942bc572b98034f255358e0cda5
Contents?: true
Size: 670 Bytes
Versions: 3
Compression:
Stored size: 670 Bytes
Contents
require 'fig/statement' require 'fig/statement/asset' module Fig; end class Fig::Statement; end # Specifies an archive file (possibly via a URL) that is part of a package. # # Differs from a Resource in that the contents will be extracted. class Fig::Statement::Archive < Fig::Statement include Fig::Statement::Asset attr_reader :url def initialize(line_column, source_description, url, glob_if_not_url) super(line_column, source_description) @url = url @glob_if_not_url = glob_if_not_url end def asset_name() return standard_asset_name() end def unparse_as_version(unparser) return unparser.archive(self) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fig-0.1.77 | lib/fig/statement/archive.rb |
fig-0.1.76 | lib/fig/statement/archive.rb |
fig-0.1.75 | lib/fig/statement/archive.rb |