Sha256: fc3d918aef9890576c5f1c96fb9c825d8e59f68f6b6ebfd3360073d47b674670
Contents?: true
Size: 446 Bytes
Versions: 3
Compression:
Stored size: 446 Bytes
Contents
require 'fig/statement' module Fig; 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::Statement::Archive < Fig::Statement attr_reader :url def initialize(line_column, url) super(line_column) @url = url end def urls return [@url] end def unparse(indent) %Q<#{indent}archive "#{url}"> end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fig-0.1.62 | lib/fig/statement/archive.rb |
fig-0.1.61 | lib/fig/statement/archive.rb |
fig-0.1.59 | lib/fig/statement/archive.rb |