summaryrefslogtreecommitdiffhomepage
path: root/examples/example.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-04-25 20:29:10 +0900
committerRandy Morgan <[email protected]>2012-04-25 20:29:10 +0900
commitbb9d3279c500164e9a958c168ca3bea5e4e6d76c (patch)
treeccf667efb3edc48c8a5380a4ec4441bd332274fe /examples/example.rb
parent0259e86b9d740784825232b4c234f795c21445c0 (diff)
downloadcaxlsx-bb9d3279c500164e9a958c168ca3bea5e4e6d76c.tar.gz
caxlsx-bb9d3279c500164e9a958c168ca3bea5e4e6d76c.zip
er..
Diffstat (limited to 'examples/example.rb')
-rw-r--r--examples/example.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example.rb b/examples/example.rb
index b1338360..fcfb8728 100644
--- a/examples/example.rb
+++ b/examples/example.rb
@@ -148,7 +148,7 @@ wb.add_worksheet(:name => "Automatic cell types") do |sheet|
sheet.add_row ["Date", "Time", "String", "Boolean", "Float", "Integer"]
date_format = wb.styles.add_style :format_code => 'YYYY-MMM-DD'
time_format = wb.styles.add_style :format_code => 'HH:MM:SS'
- sheet.add_row [Date.today, Time.now, "value", true, 0.1, 1], :style => [date_format, time_format, nil, nil, nil, nil]
+ sheet.add_row [Date.today, Time.now, "value", true, 0.1, 1], :style => [date_format, time_format]
end
##Merging Cells.