Sha256: fca9a43f9edbb3aa6ce0374f4a150f249cc98bc574e2a4c57e22fc0567673b68
Contents?: true
Size: 414 Bytes
Versions: 16
Compression:
Stored size: 414 Bytes
Contents
module HtmlEmailCreator module Formatters class PlainTextEmail < Formatter def self.extension "txt" end def self.id :plain_text_email end def initialize(html, settings) super @processor = HtmlEmailCreator::Processor.new(html, settings) end def format @output ||= @processor.to_plain_text end end end end
Version data entries
16 entries across 16 versions & 1 rubygems