Parent

Methods

Class/Module Index [+]

Quicksearch

Nanoc::Filters::RubyPants

Public Instance Methods

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

Runs the content through [RubyPants](rubydoc.info/gems/rubypants/). This method takes no options.

@param [String] content The content to filter

@return [String] The filtered content

# File lib/nanoc/filters/rubypants.rb, line 13
def run(content, params={})
  # Get result
  ::RubyPants.new(content).to_html
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.