Methods

Class/Module Index [+]

Quicksearch

Nanoc3::Filters::Rainpress

Public Instance Methods

run(content, params={}) click to toggle source

Runs the content through [Rainpress](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

# File lib/nanoc3/filters/rainpress.rb, line 11
def run(content, params={})
  require 'rainpress'

  ::Rainpress.compress(content, params)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.