Sha256: d8d3baefe57011d3042d5e37f4018bb0956389abdc52cc7a030a4073d728f3f2
Contents?: true
Size: 493 Bytes
Versions: 90
Compression:
Stored size: 493 Bytes
Contents
# frozen_string_literal: true module Nanoc::Filters # @api private class RubyPants < Nanoc::Filter identifier :rubypants 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
90 entries across 90 versions & 1 rubygems