Sha256: 5104d09e91fcc7bec08aabd590da0530788d815810a9a07d074b1e8d24f224f4
Contents?: true
Size: 428 Bytes
Versions: 3
Compression:
Stored size: 428 Bytes
Contents
module BootstrapEmail module Converter class Grid < Base def build each_node('.row') do |node| node.replace(template('div', classes: node['class'], contents: template('table-to-tr', contents: node.inner_html))) end each_node('*[class*=col]') do |node| node.replace(template('td', classes: node['class'], contents: node.inner_html)) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems