Module: FunHtml::SpecElements::HTMLTableCellElement

Included in:
HTMLAllElements
Defined in:
lib/fun_html/spec_elements.rb

Instance Method Summary collapse

Instance Method Details

#td(attributes = nil, &elements) ⇒ Object



523
524
525
# File 'lib/fun_html/spec_elements.rb', line 523

def td(attributes = nil, &elements)
  write('<td', '</td>', attributes, &elements)
end

#th(attributes = nil, &elements) ⇒ Object



527
528
529
# File 'lib/fun_html/spec_elements.rb', line 527

def th(attributes = nil, &elements)
  write('<th', '</th>', attributes, &elements)
end