class Nanoc::Filters::Rainpress
@api private
Public Instance Methods
run(content, params = {})
click to toggle source
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
# File lib/nanoc/filters/rainpress.rb, line 16 def run(content, params = {}) ::Rainpress.compress(content, params) end