Class: WebTranslateIt::Safe::Archive
- Defined in:
- lib/web_translate_it/safe/archive.rb
Instance Attribute Summary
Attributes inherited from Source
Attributes inherited from Stream
Instance Method Summary collapse
Methods inherited from Source
#backup, #filename, human_name, #initialize, #kind, #timestamp
Methods inherited from Stream
Constructor Details
This class inherits a constructor from WebTranslateIt::Safe::Source
Instance Method Details
#command ⇒ Object
7 8 9 |
# File 'lib/web_translate_it/safe/archive.rb', line 7 def command "tar -cf - #{config[:options]} #{tar_exclude_files} #{tar_files}" end |
#extension ⇒ Object
11 |
# File 'lib/web_translate_it/safe/archive.rb', line 11 def extension = '.tar' |