Class: Chrysalis::Ar::TarBz2Archive
- Inherits:
-
TarArchive
- Object
- Chrysalis::Archive
- TarArchive
- Chrysalis::Ar::TarBz2Archive
- Defined in:
- lib/chrysalis/ar/tar_bz2.rb
Overview
Implements support for extracting tar archives compressed with bzip2 compression.
Archives of this type are identified by the file extension .tar.bz2.
Constant Summary collapse
- EXTENSION =
".tar.bz2".freeze
Class Method Summary collapse
Methods inherited from TarArchive
Methods inherited from Chrysalis::Archive
#extract, extract, inherited, #initialize
Constructor Details
This class inherits a constructor from Chrysalis::Ar::TarArchive
Class Method Details
.extracts?(path) ⇒ Boolean
15 16 17 |
# File 'lib/chrysalis/ar/tar_bz2.rb', line 15 def self.extracts?(path) path.end? EXTENSION end |