From 7ae8e76838c5ccf921de032a8d7bfa6e1017d007 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Wed, 26 Sep 2012 14:42:00 +0900 Subject: pre-release readme updates and more work on auto_filter preset values --- examples/example.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/example.rb') 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 #``` -- cgit v1.2.3