class Nanoc::Filters::Rainpress
@api private
Public Instance Methods
Source
# File lib/nanoc/filters/rainpress.rb, line 16 def run(content, params = {}) ::Rainpress.compress(content, params) end
Runs the content through [Rainpress](github.com/ddfreyne/rainpress). Parameters passed to this filter will be passed on to Rainpress
.
@param [String] content The content to filter
@return [String] The filtered content