Class: Chrysalis::Ar::TarGzArchive
- Inherits:
-
TarArchive
- Object
- Chrysalis::Archive
- TarArchive
- Chrysalis::Ar::TarGzArchive
- Defined in:
- lib/chrysalis/ar/tar_gz.rb
Overview
Implements support for extracting tar archives compressed with gzip compression.
Archives of this type are identified by the file extension .tar.gz.
Direct Known Subclasses
Constant Summary collapse
- EXTENSION =
".tar.gz".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_gz.rb', line 15 def self.extracts?(path) path.end? EXTENSION end |