Sha256: dc6f296e1d93e62d21f4188db7b3f62875148df2cf704331881762f4e1546eb4
Contents?: true
Size: 303 Bytes
Versions: 10
Compression:
Stored size: 303 Bytes
Contents
# frozen_string_literal: true module BootstrapEmail module Converter class Alert < Base def build each_node('.alert') do |node| node.replace(template('table', classes: node['class'], contents: node.delete('class') && node.to_html)) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems