Class: Swordfish::Node::TableRow
- Defined in:
- lib/swordfish/nodes/table_row.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#append, #clear_children, #find_nodes_by_type, #inform!, #initialize, #replace, #replace_with, #stylize, #wrap_children
Constructor Details
This class inherits a constructor from Swordfish::Node::Base
Instance Method Details
#to_html ⇒ Object
7 8 9 |
# File 'lib/swordfish/nodes/table_row.rb', line 7 def to_html "<tr>#{@children.map(&:to_html).join}</tr>" end |