Class: Jekyll::Document
- Inherits:
-
Object
- Object
- Jekyll::Document
- Includes:
- Compressor
- Defined in:
- lib/jekyll-minifier.rb
Instance Method Summary collapse
Methods included from Compressor
#output_compressed, #output_css, #output_file, #output_html, #output_js, #output_json
Instance Method Details
#write(dest) ⇒ Object
163 164 165 166 167 168 169 170 171 |
# File 'lib/jekyll-minifier.rb', line 163 def write(dest) dest_path = destination(dest) if exclude?(dest, dest_path) output_file(dest_path, output) else output_compressed(dest_path, output) end trigger_hooks(:post_write) end |