Class: TableElements::TableColumnGroup
- Inherits:
-
ContainerElement
- Object
- ContainerElement
- TableElements::TableColumnGroup
- Defined in:
- lib/reparcs/elements/table_elements.rb
Overview
A Table Column group element ‘<colgroup></colgroup>’
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ TableColumnGroup
constructor
Creates a new Column group element, takes an optional hash of attributes as parameter.
Constructor Details
#initialize(attrs = {}) ⇒ TableColumnGroup
Creates a new Column group element, takes an optional hash of attributes as parameter.
52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/reparcs/elements/table_elements.rb', line 52 def initialize(attrs={}) aattrs = [ "class", "id", "title", "dir", "xml:lang", "onclick", "ondblclick", "onkeydown", "onkeypress", "onkeyup", "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "align", "char", "charoff", "span", "charset", "hreflang" ] super("colgroup", aattrs, ["col"], attrs) @start_element = "<colgroup" @end_element = "</colgroup>" end |