Sha256: 0d6446aa78adbf0e4d8e21b806ee55799d780d0ffd552affb17c938ca833fd30
Contents?: true
Size: 506 Bytes
Versions: 5
Compression:
Stored size: 506 Bytes
Contents
require 'fig/logging' require 'fig/packageerror' require 'fig/package/statement' module Fig; end class Fig::Package; end # Specifies an archive file (possibly via a URL) that is part of the current package. # # Differs from a Resource in that the contents will be extracted. class Fig::Package::Archive include Fig::Package::Statement attr_reader :url def initialize(url) @url = url end def urls return [@url] end def unparse(indent) %Q<#{indent}archive "#{url}"> end end
Version data entries
5 entries across 5 versions & 2 rubygems