Class: Sprockets::NullCompressor
- Inherits:
-
Object
- Object
- Sprockets::NullCompressor
- Defined in:
- lib/sprockets/compressors.rb
Overview
An asset compressor which does nothing.
This compressor simply returns the asset as-is, without any compression whatsoever. It is useful in development mode, when compression isn’t needed but using the same asset pipeline as production is desired.
Instance Method Summary collapse
-
#compress(content) ⇒ Object
:nodoc:.
Instance Method Details
#compress(content) ⇒ Object
:nodoc:
54 55 56 |
# File 'lib/sprockets/compressors.rb', line 54 def compress(content) content end |