summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-09-14 18:13:40 +0900
committerRandy Morgan <[email protected]>2012-09-14 18:13:40 +0900
commit55a0dd9d3b522876dc97e109b2d38b261cdaf752 (patch)
treefd69743e98a045f45a7e16dcc6e90bb3dd235736 /examples
parent3e4ee23a46c12f1a634f2cadee1798b0cb1000ff (diff)
downloadcaxlsx-55a0dd9d3b522876dc97e109b2d38b261cdaf752.tar.gz
caxlsx-55a0dd9d3b522876dc97e109b2d38b261cdaf752.zip
Patch for 1.8.7 and update table style example to use custom name
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/example.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example.rb b/examples/example.rb
index 6f4daec3..3af276d5 100755
--- a/examples/example.rb
+++ b/examples/example.rb
@@ -309,7 +309,7 @@ end
##Tables
#```ruby
-wb.add_worksheet(:name => "Table") do |sheet|
+wb.add_worksheet(:name => "Table", :style_info => { :name => "TableStyleMedium23" }) 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"]