| Short description: |
Interface for generating HTML Tables via Ruby |
| Category: |
Library/HTML |
| Status: |
beta4 |
| Created: |
2003-06-11 15:57:41 GMT |
| Last update: |
2004-05-16 22:36:52 GMT |
| Owner: |
Daniel J. Berger
(Projects of this owner) |
| Homepage: |
http://ruby-miscutils.sf.net |
| Download: |
http://prdownloads.sourceforge.net/ruby-miscutils/html-table-0.0.4.tar.gz?download
|
| License: |
Ruby's |
| Dependency: |
|
| Description: |
A widget-like interface for generating HTML Tables without ever having to touch HTML tags.
CHANGES
=======
- Prerequisites now include Ruby 1.8.0 or later and the StrongTyping package from
Ryan Pavlik.
- More stringent type checking added using the StrongTyping package.
- Bug in Table::Foot class corrected.
- Minor name change for included modules (AttributeHandler, HtmlHandler).
- Many more tests added
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 (RAA is stripping out the spacing) ###
<table>
<tr>
<td>foo
<td>bar
<td>baz
<tr>
<td>1
<td>2
<td>3
<tr>
<td>hello
<td>world
</table>
There are several examples included in the documentation as well. Please see the 'doc' and 'doc/examples' directories.
|
| Versions: |
[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 (-)]
|