Sha256: 78eac98e6f590d90d3a22ab5e17163fed24a5be42ff4bba37ae565467fa35b37
Contents?: true
Size: 394 Bytes
Versions: 3
Compression:
Stored size: 394 Bytes
Contents
module BootstrapEmail module Component class Grid < Base def build each_node('.row') do |node| node.replace(template('row', classes: node['class'], contents: node.inner_html)) end each_node('*[class*=col]') do |node| node.replace(template('col', classes: node['class'], contents: node.inner_html)) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems