Skip to content

Simplify table generation in Ruby on Rails

Notifications You must be signed in to change notification settings

blhack-it/tableasy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tableasy

Rails tables builder gem that makes creating tables painless.

Usage

table = Tableasy::Table.new

table.add_row [helper.header_cell('Name', class: "hc")], { class: "rc" }
table.add_row [helper.table_cell('John')]

render_table(table)

Output

<table><tr class=\"rc\"><th class=\"hc\">Name</th></tr><tr><td>John</td></tr></table>

Rendered

Name
John

About

Simplify table generation in Ruby on Rails

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%