Class: SimpleTable::Head

Inherits:
Rows
  • Object
show all
Defined in:
lib/simple_table/head.rb

Instance Attribute Summary

Attributes inherited from Rows

#rows

Attributes inherited from Tag

#options, #parent

Instance Method Summary collapse

Methods inherited from Rows

#empty?, #initialize, #row

Methods inherited from Tag

#add_class, #collection_class, #collection_name, #head?, #initialize, #table

Constructor Details

This class inherits a constructor from SimpleTable::Rows

Instance Method Details

#render(*args) ⇒ Object



6
7
8
9
# File 'lib/simple_table/head.rb', line 6

def render(*args)
  build
  super(rows.map { |row| row.render(*args) })
end