Sha256: 4655b4c4ab6faf4aca72d6ecd452eccc5a4a9ff4345c523eede9e179947c14ee
Contents?: true
Size: 454 Bytes
Versions: 4
Compression:
Stored size: 454 Bytes
Contents
# encoding: utf-8 module Nanoc::Filters # @api private class RubyPants < Nanoc::Filter requires 'rubypants' # Runs the content through [RubyPants](http://rubydoc.info/gems/rubypants/). # 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nanoc-4.0.0b2 | lib/nanoc/filters/rubypants.rb |
nanoc-4.0.0b1 | lib/nanoc/filters/rubypants.rb |
nanoc-4.0.0a2 | lib/nanoc/filters/rubypants.rb |
nanoc-4.0.0a1 | lib/nanoc/filters/rubypants.rb |