Sha256: 5c78bbcc7bbc966ff9cf02b64e617df1a3df2ac7a70a744ab18583abb88c28e1
Contents?: true
Size: 457 Bytes
Versions: 8
Compression:
Stored size: 457 Bytes
Contents
# encoding: utf-8 require 'rubypants' 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={}) # Get result ::RubyPants.new(content).to_html end end end
Version data entries
8 entries across 8 versions & 1 rubygems