diff options
| author | Randy Morgan <[email protected]> | 2012-09-26 14:42:00 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-09-26 14:42:00 +0900 |
| commit | 7ae8e76838c5ccf921de032a8d7bfa6e1017d007 (patch) | |
| tree | 5e16ff075e7b261b60c891097f25215fb24906ea /examples/example.rb | |
| parent | 178335010128df34a7d0a0a6492e3e9bf1e94b99 (diff) | |
| download | caxlsx-7ae8e76838c5ccf921de032a8d7bfa6e1017d007.tar.gz caxlsx-7ae8e76838c5ccf921de032a8d7bfa6e1017d007.zip | |
pre-release readme updates and more work on auto_filter preset values
Diffstat (limited to 'examples/example.rb')
| -rwxr-xr-x | examples/example.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example.rb b/examples/example.rb index 3af276d5..9ba1ab73 100755 --- a/examples/example.rb +++ b/examples/example.rb @@ -309,13 +309,13 @@ end ##Tables #```ruby -wb.add_worksheet(:name => "Table", :style_info => { :name => "TableStyleMedium23" }) do |sheet| +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' + sheet.add_table "A2:D5", :name => 'Build Matrix', :style_info => { :name => "TableStyleMedium23" } end #``` |
