Class: Arbre::HTML::Table

Inherits:
Tag show all
Defined in:
lib/arbre/html/html5_elements.rb

Constant Summary

Constants inherited from Tag

Arbre::HTML::Tag::SELF_CLOSING_ELEMENTS

Instance Attribute Summary

Attributes inherited from Tag

#attributes

Attributes inherited from Element

#arbre_context, #children, #parent

Instance Method Summary collapse

Methods inherited from Tag

#add_class, #build, #class_list, #class_names, #extract_arguments, #get_attribute, #has_attribute?, #id, #id!, #id=, #remove_attribute, #remove_class, #set_attribute, #to_s

Methods inherited from Element

#+, #<<, #add_child, #ancestors, #assigns, #build, #children?, #content, #content=, #each, #find_first_ancestor, #get_elements_by_class_name, #get_elements_by_tag_name, #helpers, #html_safe, #indent_level, #inspect, #parent?, #remove_child, #tag_name, #to_ary, #to_s, #to_str

Methods included from Element::BuilderMethods

#build_tag, #current_arbre_element, included, #insert_tag, #with_current_arbre_element

Constructor Details

#initializeTable

Returns a new instance of Table.



31
32
33
34
# File 'lib/arbre/html/html5_elements.rb', line 31

def initialize(*)
  super
  set_table_tag_defaults
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Arbre::Element