Class: Hanami::Assets::Compressors::YuiJavascript Private
- Inherits:
-
Javascript
- Object
- Abstract
- Javascript
- Hanami::Assets::Compressors::YuiJavascript
- Defined in:
- lib/hanami/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
-
#initialize ⇒ YuiJavascript
constructor
private
A new instance of YuiJavascript.
Methods inherited from Javascript
Methods inherited from Abstract
Constructor Details
#initialize ⇒ YuiJavascript
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.
19 20 21 |
# File 'lib/hanami/assets/compressors/yui_javascript.rb', line 19 def initialize @compressor = YUI::JavaScriptCompressor.new(munge: true) end |