Class: Hanami::Assets::Compressors::ClosureJavascript Private
- Inherits:
-
Javascript
- Object
- Abstract
- Javascript
- Hanami::Assets::Compressors::ClosureJavascript
- Defined in:
- lib/hanami/assets/compressors/closure_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.
Google Closure Compiler for JavaScript
Depends on closure-compiler
gem
Instance Method Summary collapse
-
#initialize ⇒ ClosureJavascript
constructor
private
A new instance of ClosureJavascript.
Methods inherited from Javascript
Methods inherited from Abstract
Constructor Details
#initialize ⇒ ClosureJavascript
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 ClosureJavascript.
19 20 21 |
# File 'lib/hanami/assets/compressors/closure_javascript.rb', line 19 def initialize @compressor = Closure::Compiler.new end |