Class: BootstrapEmail::Converter::Table

Inherits:
Base
  • Object
show all
Defined in:
lib/bootstrap-email/converters/table.rb

Instance Attribute Summary

Attributes inherited from Base

#doc

Instance Method Summary collapse

Methods inherited from Base

build, #initialize

Constructor Details

This class inherits a constructor from BootstrapEmail::Converter::Base

Instance Method Details

#buildObject



4
5
6
7
8
9
10
# File 'lib/bootstrap-email/converters/table.rb', line 4

def build
  each_node('table') do |node|
    node['border'] = 0
    node['cellpadding'] = 0
    node['cellspacing'] = 0
  end
end