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

Version Path
html_email_creator-1.0.18 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.16 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.15 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.14 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.13 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.10 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.9 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.8 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.7 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.6 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.5 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.4 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.3 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.2 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.1 lib/html_email_creator/formatters/html_email.rb
html_email_creator-1.0.0 lib/html_email_creator/formatters/html_email.rb