Class: El::Td

Inherits:
Element show all
Defined in:
lib/element_component/core/td.rb

Overview

represent the td tag

Instance Attribute Summary

Attributes inherited from Element

#attributes, #components, #element

Instance Method Summary collapse

Methods inherited from Element

#add_attribute, #add_component, #add_content, #build, #get_component, #remove_attribute!, #remove_attribute_value, #reset_attributes!, #reset_components!, #reset_contents!

Constructor Details

#initializeTd

Returns a new instance of Td.



6
7
8
# File 'lib/element_component/core/td.rb', line 6

def initialize
  super('td', closing_tag: true)
end