Class: HtmlCompressor::HtmlCompressor
- Inherits:
-
Compressor
- Object
- Compressor
- HtmlCompressor::HtmlCompressor
- Defined in:
- lib/html_compressor/html_compressor.rb
Constant Summary
Constants inherited from Compressor
Instance Attribute Summary
Attributes inherited from Compressor
Class Method Summary collapse
-
.compressor_type ⇒ Object
:nodoc:.
-
.default_options ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ HtmlCompressor
constructor
A new instance of HtmlCompressor.
Methods inherited from Compressor
Constructor Details
#initialize(options = {}) ⇒ HtmlCompressor
Returns a new instance of HtmlCompressor.
18 19 20 |
# File 'lib/html_compressor/html_compressor.rb', line 18 def initialize( = {}) super end |
Class Method Details
.compressor_type ⇒ Object
:nodoc:
7 8 9 |
# File 'lib/html_compressor/html_compressor.rb', line 7 def self.compressor_type #:nodoc: "html" end |
.default_options ⇒ Object
:nodoc:
11 12 13 14 15 16 |
# File 'lib/html_compressor/html_compressor.rb', line 11 def self. #:nodoc: super.merge( :compress_js => true, :compress_css => true ) end |