examples/data_validate.rb in write_xlsx-0.85.11 vs examples/data_validate.rb in write_xlsx-0.86.0

- old
+ new

@@ -17,16 +17,16 @@ workbook = WriteXLSX.new('data_validate.xlsx') worksheet = workbook.add_worksheet # Add a format for the header cells. header_format = workbook.add_format( - :border => 1, - :bg_color => 43, - :bold => 1, - :text_wrap => 1, - :valign => 'vcenter', - :indent => 1 - ) + :border => 1, + :bg_color => '#C6EFCE', + :bold => 1, + :text_wrap => 1, + :valign => 'vcenter', + :indent => 1 +) # Set up layout of the worksheet. worksheet.set_column('A:A', 68) worksheet.set_column('B:B', 15) worksheet.set_column('D:D', 15)