Method: WaplHelper#row_cell
- Defined in:
- lib/wapl_helper.rb
#row_cell(tag_string, cell = {}, row = {}) ⇒ Object
Inserts a row and a cell with a specified content
- tag_string
-
string - the content that goes into the row/cell
- cell
-
hash - attribute hash for the <cell /> element
- row
-
hash - attribute hash for the <row /> element
62 63 64 65 |
# File 'lib/wapl_helper.rb', line 62 def row_cell(tag_string, cell={}, row={}) cell = self.tag('cell', tag_string, cell) self.tag('row', cell, row) end |