| Short description: |
Interface for generating HTML Tables via Ruby |
| Category: |
Library/HTML |
| Status: |
stable |
| Created: |
2003-06-11 15:57:41 GMT |
| Last update: |
2008-07-15 15:42:56 GMT |
| Owner: |
Daniel J. Berger
(Projects of this owner) |
| Homepage: |
http://www.rubyforge.org/projects/shards |
| Download: |
http://rubyforge.org/frs/download.php/39866/html-table-1.3.2.tar.gz
|
| License: |
Ruby's |
| Dependency: |
|
| Description: |
= Description
A widget-like interface for generating HTML Tables
without ever having to touch HTML tags.
= Synopsis
table = Table.new
tr1 = Table::Row.new
tr2 = Table::Row.new
tr3 = Table::Row.new
tr1.content = "foo", "bar", "baz"
tr2.content = 1,2,3
tr3.content = %w/hello world/
table.push(tr1,tr2,tr3)
puts table.html
# Output
<table>
<tr>
<td>foo
<td>bar
<td>baz
<tr>
<td>1
<td>2
<td>3
<tr>
<td>hello
<td>world
</table>
|
| Versions: |
[1.3.3 (2009-02-05)]
[1.3.2 (2008-07-15)]
[1.3.1 (2008-02-08)]
[1.3.0 (2006-08-03)]
[1.2.2 (2005-06-17)]
[1.2.0 (2004-08-08)]
[1.1.0 (2004-08-07)]
[1.0.0 (2004-05-24)]
[0.0.4 (2004-05-16)]
[0.0.3 (-)]
|