Class: Lotus::Assets::Compressors::YuiJavascript Private

Inherits:
Javascript show all
Defined in:
lib/lotus/assets/compressors/yui_javascript.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 JavaScript

It depends on yui-compressor gem

Instance Method Summary collapse

Methods inherited from Javascript

for

Methods inherited from Abstract

#compress

Constructor Details

#initializeYuiJavascript

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 YuiJavascript.

Since:

  • 0.1.0


19
20
21
# File 'lib/lotus/assets/compressors/yui_javascript.rb', line 19

def initialize
  @compressor = YUI::JavaScriptCompressor.new(munge: true)
end