class Arbre::HTML::Table

Public Class Methods

new(*) click to toggle source
Calls superclass method
# File lib/arbre/html/html5_elements.rb, line 31
def initialize(*)
  super
  set_table_tag_defaults
end

Protected Instance Methods

set_table_tag_defaults() click to toggle source

Set some good defaults for tables

# File lib/arbre/html/html5_elements.rb, line 39
def set_table_tag_defaults
  set_attribute :border,      0
  set_attribute :cellspacing, 0
  set_attribute :cellpadding, 0
end