Sha256: 06717aa563c48ebb8f09260bd09ee9dec27ea485d64e6f27382c289b6d7a5001
Contents?: true
Size: 308 Bytes
Versions: 29
Compression:
Stored size: 308 Bytes
Contents
# encoding: utf-8 module LocalPac class JavaScriptCompressor private attr_reader :compressor public def initialize(compressor = Uglifier.new) @compressor = compressor end def prepare(file) file.compressed_content = compressor.compile(file.content) end end end
Version data entries
29 entries across 29 versions & 1 rubygems