Sha256: d48ce6800d06972ad19dd2d054610e2ba785579c3ce869298ae87f7fe7c95d35

Contents?: true

Size: 263 Bytes

Versions: 5

Compression:

Stored size: 263 Bytes

Contents

module BootstrapEmail
  module Component
    class Spacer < Base
      def build
        each_node('*[class*=s-]') do |node|
          node.replace(template('table', classes: "#{node['class']} w-full", contents: '&nbsp;'))
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bootstrap-email-1.0.0.alpha2.1 lib/bootstrap-email/components/spacer.rb
bootstrap-email-1.0.0.alpha2 lib/bootstrap-email/components/spacer.rb
bootstrap-email-1.0.0.alpha1.2 lib/bootstrap-email/components/spacer.rb
bootstrap-email-1.0.0.alpha1.1 lib/bootstrap-email/components/spacer.rb
bootstrap-email-1.0.0.alpha1 lib/bootstrap-email/components/spacer.rb