Class: Hanami::Assets::Compressors::NullCompressor Private
- Defined in:
- lib/hanami/assets/compressors/null_compressor.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.
No-op, it returns the asset contents without to compress them.
Instance Method Summary collapse
- #compress(filename) ⇒ Object private
Instance Method Details
#compress(filename) ⇒ Object
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.
13 14 15 |
# File 'lib/hanami/assets/compressors/null_compressor.rb', line 13 def compress(filename) read(filename) end |