Class: TotalCompressor::T7z

Inherits:
BaseCompressor show all
Defined in:
lib/total_compressor.rb,
lib/total_compressor/compressors/t_7z.rb

Constant Summary

Constants inherited from BaseCompressor

BaseCompressor::FILE, BaseCompressor::HASH_TYPE, BaseCompressor::HOME, BaseCompressor::MSG, BaseCompressor::PROJECT, BaseCompressor::TEMP_FOLDER, BaseCompressor::TEST, BaseCompressor::TEST_FILE, BaseCompressor::TEST_FOLDER, BaseCompressor::TEST_FOLDER_UNCOMPRESSED, BaseCompressor::TEXT_FILE, BaseCompressor::TYPE

Instance Method Summary collapse

Methods inherited from BaseCompressor

#back_to_last_dir, #chdir, #get_file, #get_folder, #get_format, #prepare_test_files, #return_result, #save_current_dir, #skip_test?, #utilize_test_files

Instance Method Details

#compress(path) ⇒ Object



7
8
9
# File 'lib/total_compressor/compressors/t_7z.rb', line 7

def compress(path)
  super(path, get_format)
end

#decompress(path) ⇒ Object



11
12
13
# File 'lib/total_compressor/compressors/t_7z.rb', line 11

def decompress(path)
  super(path, get_format)
end

#testObject



3
4
5
# File 'lib/total_compressor/compressors/t_7z.rb', line 3

def test
  super(get_format)
end