Sha256: 9678ab78059609763dcd4184a8838cb487fbf3fbfb81a89855d39b7a6610011a

Contents?: true

Size: 245 Bytes

Versions: 11

Compression:

Stored size: 245 Bytes

Contents

module BootstrapEmail
  module Converter
    class Body < Base
      def build
        body = doc.at_css('body')
        body.inner_html = template('body', classes: "#{body['class']} body", contents: body.inner_html)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bootstrap-email-1.1.4 lib/bootstrap-email/converters/body.rb
bootstrap-email-1.1.3 lib/bootstrap-email/converters/body.rb
bootstrap-email-1.1.2 lib/bootstrap-email/converters/body.rb
bootstrap-email-1.1.1 lib/bootstrap-email/converters/body.rb
bootstrap-email-1.1.0 lib/bootstrap-email/converters/body.rb
bootstrap-email-1.0.2 lib/bootstrap-email/converters/body.rb
bootstrap-email-1.0.1 lib/bootstrap-email/converters/body.rb
bootstrap-email-1.0.0 lib/bootstrap-email/converters/body.rb
bootstrap-email-1.0.0.alpha4 lib/bootstrap-email/converters/body.rb
bootstrap-email-1.0.0.alpha3.1 lib/bootstrap-email/converters/body.rb
bootstrap-email-1.0.0.alpha3 lib/bootstrap-email/converters/body.rb