Class: BiblioTech::Builders::ExplicitGzipCompressor
- Inherits:
-
GzipCompressor
- Object
- Base
- File
- FileOutput
- GzipCompressor
- BiblioTech::Builders::ExplicitGzipCompressor
- Defined in:
- lib/bibliotech/builders/gzip.rb
Constant Summary
Constants inherited from GzipCompressor
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from GzipCompressor
Methods inherited from FileOutput
find_explicit, identity_adapter, registry_host
Methods inherited from File
Methods inherited from Base
adapter_registry, for, #initialize, null_adapter, register, registry, supported_adapters
Constructor Details
This class inherits a constructor from BiblioTech::Builders::Base
Instance Method Details
#file ⇒ Object
44 45 46 47 48 49 50 |
# File 'lib/bibliotech/builders/gzip.rb', line 44 def file file = super unless PATTERNS.any?{|pattern| pattern =~ file} return file + ".gz" end file end |