diff options
| author | Randy Morgan <[email protected]> | 2012-03-21 23:39:54 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-03-21 23:39:54 +0900 |
| commit | 3f4068f423d144513c33b2c1e94ee8a78ad38813 (patch) | |
| tree | b2d9584a8868919caa00694f0a84383e1e20403d | |
| parent | cec81bb125ae4a97d83517e514e9ca9ee387398f (diff) | |
| download | caxlsx-3f4068f423d144513c33b2c1e94ee8a78ad38813.tar.gz caxlsx-3f4068f423d144513c33b2c1e94ee8a78ad38813.zip | |
brining the table example back in.
Still frustrated that this tosses up 'unsupported' errors in mac.
| -rw-r--r-- | examples/example.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/example.rb b/examples/example.rb index 85028559..2b4f795b 100644 --- a/examples/example.rb +++ b/examples/example.rb @@ -209,14 +209,14 @@ end ##Tables -wb.add_worksheet(:name => "Table") do |sheet| - sheet.add_row ["Build Matrix"] - sheet.add_row ["Build", "Duration", "Finished", "Rvm"] - sheet.add_row ["19.1", "1 min 32 sec", "about 10 hours ago", "1.8.7"] - sheet.add_row ["19.2", "1 min 28 sec", "about 10 hours ago", "1.9.2"] - sheet.add_row ["19.3", "1 min 35 sec", "about 10 hours ago", "1.9.3"] - sheet.add_table "A2:D5", :name => 'Build Matrix' -end + wb.add_worksheet(:name => "Table") do |sheet| + sheet.add_row ["Build Matrix"] + sheet.add_row ["Build", "Duration", "Finished", "Rvm"] + sheet.add_row ["19.1", "1 min 32 sec", "about 10 hours ago", "1.8.7"] + sheet.add_row ["19.2", "1 min 28 sec", "about 10 hours ago", "1.9.2"] + sheet.add_row ["19.3", "1 min 35 sec", "about 10 hours ago", "1.9.3"] + sheet.add_table "A2:D5", :name => 'Build Matrix' + end ##Specifying Column Widths |
