Sha256: 126fcdf67d353a09e321aa95cbfbc81fbe579f9656aee1774a2358ce37078bee
Contents?: true
Size: 459 Bytes
Versions: 9
Compression:
Stored size: 459 Bytes
Contents
# encoding: utf-8 module Nanoc::Filters class Rainpress < Nanoc::Filter requires 'rainpress' # Runs the content through [Rainpress](http://code.google.com/p/rainpress/). # Parameters passed to this filter will be passed on to Rainpress. # # @param [String] content The content to filter # # @return [String] The filtered content def run(content, params = {}) ::Rainpress.compress(content, params) end end end
Version data entries
9 entries across 9 versions & 1 rubygems