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