Class: Hanami::Assets::Compressors::NullCompressor Private

Inherits:
Abstract
  • Object
show all
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.

Since:

  • 0.1.0

Instance Method Summary collapse

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.

Since:

  • 0.1.0



13
14
15
# File 'lib/hanami/assets/compressors/null_compressor.rb', line 13

def compress(filename)
  read(filename)
end