Sha256: dcf5c1d1c62b84e1ed9e1604374fbce00ec29e9848bffd72d72964653351c134

Contents?: true

Size: 416 Bytes

Versions: 11

Compression:

Stored size: 416 Bytes

Contents

module BootstrapEmail
  module Converter
    class Container < Base
      def build
        each_node('.container') do |node|
          node.replace(template('container', classes: node['class'], contents: node.inner_html))
        end
        each_node('.container-fluid') do |node|
          node.replace(template('table', classes: node['class'], contents: node.inner_html))
        end
      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/container.rb
bootstrap-email-1.1.3 lib/bootstrap-email/converters/container.rb
bootstrap-email-1.1.2 lib/bootstrap-email/converters/container.rb
bootstrap-email-1.1.1 lib/bootstrap-email/converters/container.rb
bootstrap-email-1.1.0 lib/bootstrap-email/converters/container.rb
bootstrap-email-1.0.2 lib/bootstrap-email/converters/container.rb
bootstrap-email-1.0.1 lib/bootstrap-email/converters/container.rb
bootstrap-email-1.0.0 lib/bootstrap-email/converters/container.rb
bootstrap-email-1.0.0.alpha4 lib/bootstrap-email/converters/container.rb
bootstrap-email-1.0.0.alpha3.1 lib/bootstrap-email/converters/container.rb
bootstrap-email-1.0.0.alpha3 lib/bootstrap-email/converters/container.rb