Sha256: 1f81356c959e13e5efef8ad0b8e5d2323ca57420e094df84c4c96bae5b9c4c41
Contents?: true
Size: 343 Bytes
Versions: 10
Compression:
Stored size: 343 Bytes
Contents
# frozen_string_literal: true module BootstrapEmail module Converter class Hr < Base def build each_node('hr') do |node| default_margin = margin?(node) ? '' : 'my-5' node.replace(template('table', classes: "#{default_margin} hr #{node['class']}", contents: '')) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems