Sha256: 6cb142301917c2e780e9a9e701cb8597b3bd8a3af8747d8eeccedaaf1ed5a852
Contents?: true
Size: 463 Bytes
Versions: 16
Compression:
Stored size: 463 Bytes
Contents
# encoding: utf-8 module Nanoc3::Filters class RubyPants < Nanoc3::Filter # Runs the content through [RubyPants](http://chneukirchen.org/blog/static/projects/rubypants.html). # This method takes no options. # # @param [String] content The content to filter # # @return [String] The filtered content def run(content, params={}) require 'rubypants' # Get result ::RubyPants.new(content).to_html end end end
Version data entries
16 entries across 16 versions & 1 rubygems