Class: Lotus::Assets::Compressors::Abstract Private
- Inherits:
- 
      Object
      
        - Object
- Lotus::Assets::Compressors::Abstract
 
- Defined in:
- lib/lotus/assets/compressors/abstract.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Abstract base class for compressors.
Don’t use this class directly, but please use subclasses instead.
Direct Known Subclasses
Instance Method Summary collapse
- 
  
    
      #compress(filename)  ⇒ String 
    
    
  
  
  
  
  
  
  
  private
  
    Compress the given asset. 
Instance Method Details
#compress(filename) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Compress the given asset
| 40 41 42 43 44 | # File 'lib/lotus/assets/compressors/abstract.rb', line 40 def compress(filename) compressor.compress( read(filename) ) end |