Class: Rant::Generators::Archive::Tgz
- Defined in:
- lib/rant/import/archive/tgz.rb
Overview
Use this class as a generator to create gzip compressed tar archives.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#define_task ⇒ Object
Ensure to set #rac first.
-
#initialize(*args) ⇒ Tgz
constructor
A new instance of Tgz.
Methods inherited from Base
#define_manifest_task, #get_archive_path, #get_files, #path, #rac, #rac=, rant_gen, #with_manifest
Methods included from MetaUtils
#rant_attr, #rant_flag, #redirect_accessor, #redirect_message, #redirect_reader, #redirect_writer, #string_attr, #valid_attr_name
Constructor Details
#initialize(*args) ⇒ Tgz
Returns a new instance of Tgz.
13 14 15 16 |
# File 'lib/rant/import/archive/tgz.rb', line 13 def initialize(*args) super @extension = ".tgz" end |