Class: Hanami::Assets::Compressors::YuiStylesheet Private

Inherits:
Stylesheet show all
Defined in:
lib/hanami/assets/compressors/yui_stylesheet.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.

YUI Compressor for stylesheet

It depends on yui-compressor gem

Instance Method Summary collapse

Methods inherited from Stylesheet

for

Methods inherited from Abstract

#compress

Constructor Details

#initializeYuiStylesheet

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.

Returns a new instance of YuiStylesheet.

Since:

  • 0.1.0



19
20
21
# File 'lib/hanami/assets/compressors/yui_stylesheet.rb', line 19

def initialize
  @compressor = YUI::CssCompressor.new
end