Method: HTML::Table#header
- Defined in:
- lib/html/table.rb
#header(arg = nil) ⇒ Object
A shortcut for creating Table::Row::Header objects in the constructor using the DSL style syntax.
123 124 125 |
# File 'lib/html/table.rb', line 123 def header(arg = nil) self.header = arg if arg end |