Sha256: 2dd7ef47ee93ad71df940e3df1088374806c1e4a5e76ed44269902a50ac1a8af
Contents?: true
Size: 426 Bytes
Versions: 16
Compression:
Stored size: 426 Bytes
Contents
require 'kramdown' module HtmlEmailCreator module Formatters class HtmlEmail < Formatter def self.extension "html" end def self.id :html_email end def initialize(html, settings) super @processor = HtmlEmailCreator::Processor.new(html, settings) end def format @output ||= @processor.to_html end end end end
Version data entries
16 entries across 16 versions & 1 rubygems