Class: BootstrapEmail::Converter::Paragraph
- Defined in:
- lib/bootstrap-email/converters/paragraph.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from BootstrapEmail::Converter::Base
Instance Method Details
#build ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/bootstrap-email/converters/paragraph.rb', line 6 def build each_node('p') do |node| next if margin?(node) add_class(node, 'mb-4') end end |