Module: Html

Defined in:
lib/html/col.rb,
lib/html/row.rb,
lib/html/tag.rb,
lib/html/table.rb,
lib/html/tbody.rb,
lib/html/thead.rb,
lib/html/head_col.rb

Defined Under Namespace

Classes: Col, HeadCol, Row, Table, Tag, Tbody, Thead

Class Method Summary collapse

Class Method Details

.table(rows_number, cols_number, **attrs) ⇒ Object



7
8
9
# File 'lib/html/table.rb', line 7

def self.table(rows_number, cols_number, **attrs)
  Table.new(rows_number, cols_number, **attrs)
end