Sha256: a9fe1b745bb627df4503193368f8f869d12a5ce7964aac7768732722aba601f8
Contents?: true
Size: 396 Bytes
Versions: 2
Compression:
Stored size: 396 Bytes
Contents
module BootstrapEmail module Component class Card < Base def build each_node('.card') do |node| node.replace(template('table', classes: node['class'], contents: node.inner_html)) end each_node('.card-body') do |node| node.replace(template('table', classes: node['class'], contents: node.inner_html)) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bootstrap-email-1.0.0.alpha2.1 | lib/bootstrap-email/components/card.rb |
bootstrap-email-1.0.0.alpha2 | lib/bootstrap-email/components/card.rb |