Sha256: 02ef299ea1fffe4d47c145ccbad89f216e42a085b4bf6e7c46fd6ed410c3a1e9

Contents?: true

Size: 214 Bytes

Versions: 1

Compression:

Stored size: 214 Bytes

Contents

module Nanoc2::Filters
  class SmartyPants < Nanoc2::Filter

    identifiers :rubypants

    def run(content)
      require 'rubypants'

      # Get result
      ::RubyPants.new(content).to_html
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nanoc2-2.2.3 lib/nanoc2/filters/rubypants.rb