Sha256: 5946dd4f307598a104c0f5e401398b316e2cb05c4641dea449d16965cd288cec
Contents?: true
Size: 350 Bytes
Versions: 15
Compression:
Stored size: 350 Bytes
Contents
module TableBuilder class Head < Rows self.level = 1 self.tag_name = :thead protected def build row = Row.new(self, options) table.columns.each do |column| row.cell(column.content.try(:html_safe), column.options.reverse_merge(:scope => 'col')) end @rows << row end end end
Version data entries
15 entries across 15 versions & 2 rubygems