class Nanoc::Filters::RubyPants
@api private
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 16 def run(content, _params = {}) # Get result ::RubyPants.new(content).to_html end